Skip to content

Conversation

@ksuprynowicz
Copy link

No description provided.

#include <QAudio>
#include <QString>

#define HIFI_AUDIO_DEVICE_INFO_DEFAULT_DEVICE_NAME "default "

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Little question about this: Why put strings like this one in the header file and then read them in the implementation? With interface/src/scripting/AudioDevices.cpp I would think the reason is that you use the same string multiple times. But here it is only used once.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think 74 had a theory at one point that these strings weren't initialized in time or something like that, but that wasn't the problem, so this is just harmless.

@HifiExperiments HifiExperiments merged commit 5d0fcce into HifiExperiments:application Feb 22, 2025
2 of 4 checks passed
@HifiExperiments HifiExperiments deleted the fix/application_refactor_audio branch February 22, 2025 05:07
@HifiExperiments HifiExperiments restored the fix/application_refactor_audio branch February 22, 2025 06:10
@HifiExperiments HifiExperiments deleted the fix/application_refactor_audio branch February 22, 2025 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants