Lines 701-706
Link Here
|
701 |
void QAlsaAudioInput::suspend() |
701 |
void QAlsaAudioInput::suspend() |
702 |
{ |
702 |
{ |
703 |
if(deviceState == QAudio::ActiveState||resuming) { |
703 |
if(deviceState == QAudio::ActiveState||resuming) { |
|
|
704 |
snd_pcm_drain(handle); |
704 |
timer->stop(); |
705 |
timer->stop(); |
705 |
deviceState = QAudio::SuspendedState; |
706 |
deviceState = QAudio::SuspendedState; |
706 |
emit stateChanged(deviceState); |
707 |
emit stateChanged(deviceState); |