mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
Multiple audio support: DSPEngine: cleanup of unused audio routines (2)
This commit is contained in:
parent
20527975c9
commit
95ac9a41d3
@ -113,17 +113,6 @@ void DSPEngine::stopAudioInput()
|
|||||||
m_audioInput.stop();
|
m_audioInput.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DSPEngine::startAudioInputImmediate()
|
|
||||||
{
|
|
||||||
m_audioInput.startImmediate(m_audioInputDeviceIndex, m_audioInputSampleRate);
|
|
||||||
m_audioInputSampleRate = m_audioInput.getRate(); // update with actual rate
|
|
||||||
}
|
|
||||||
|
|
||||||
void DSPEngine::stopAudioInputImmediate()
|
|
||||||
{
|
|
||||||
m_audioInput.stopImmediate();
|
|
||||||
}
|
|
||||||
|
|
||||||
void DSPEngine::addAudioSink(AudioFifo* audioFifo)
|
void DSPEngine::addAudioSink(AudioFifo* audioFifo)
|
||||||
{
|
{
|
||||||
qDebug("DSPEngine::addAudioSink");
|
qDebug("DSPEngine::addAudioSink");
|
||||||
|
@ -56,8 +56,6 @@ public:
|
|||||||
|
|
||||||
void startAudioInput();
|
void startAudioInput();
|
||||||
void stopAudioInput();
|
void stopAudioInput();
|
||||||
void startAudioInputImmediate();
|
|
||||||
void stopAudioInputImmediate();
|
|
||||||
void setAudioInputVolume(float volume) { m_audioInput.setVolume(volume); }
|
void setAudioInputVolume(float volume) { m_audioInput.setVolume(volume); }
|
||||||
void setAudioInputDeviceIndex(int index) { m_audioInputDeviceIndex = index; }
|
void setAudioInputDeviceIndex(int index) { m_audioInputDeviceIndex = index; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user