audiomanager: remove audio signalling
This is in preparation for upcoming modifications that we'll be making to the AudioManager.
This commit is contained in:
@@ -135,11 +135,12 @@ void AudioManager::SetOutputDevice(const QAudioDeviceInfo &info)
|
||||
abort();
|
||||
}
|
||||
|
||||
output_manager_.SetOutputDevice(info, format);
|
||||
if (info.isFormatSupported(format)) {
|
||||
output_manager_.SetOutputDevice(info, format);
|
||||
} else {
|
||||
qWarning() << "Output format not supported by device";
|
||||
}
|
||||
}
|
||||
|
||||
// Un-comment this to get debug information about what the audio output is doing
|
||||
//connect(output_.get(), &QAudioOutput::stateChanged, this, &AudioManager::OutputStateChanged);
|
||||
}
|
||||
|
||||
void AudioManager::SetOutputParams(const AudioRenderingParams ¶ms)
|
||||
@@ -195,10 +196,7 @@ AudioManager::AudioManager() :
|
||||
{
|
||||
RefreshDevices();
|
||||
|
||||
connect(&output_manager_, &AudioOutputManager::SentSamples, this, &AudioManager::SentSamples);
|
||||
connect(&output_manager_, &AudioOutputManager::OutputNotified, this, &AudioManager::OutputNotified);
|
||||
|
||||
output_manager_.SetEnableSendingSamples(true);
|
||||
}
|
||||
|
||||
AudioManager::~AudioManager()
|
||||
@@ -258,11 +256,6 @@ void AudioManager::RefreshThreadDone()
|
||||
emit DeviceListReady();
|
||||
}
|
||||
|
||||
void AudioManager::OutputStateChanged(QAudio::State state)
|
||||
{
|
||||
qDebug() << state;
|
||||
}
|
||||
|
||||
AudioRefreshDevicesObject::AudioRefreshDevicesObject()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user