branch | RCL_3 |
changeset 13 | c0432d11811c |
parent 7 | 3f74d0d4af4c |
12:cc75c76972ee | 13:c0432d11811c |
---|---|
426 return true; |
426 return true; |
427 } |
427 } |
428 |
428 |
429 void QAudioInputPrivate::close() |
429 void QAudioInputPrivate::close() |
430 { |
430 { |
431 deviceState = QAudio::StoppedState; |
|
432 timer->stop(); |
431 timer->stop(); |
433 |
432 |
434 if ( handle ) { |
433 if ( handle ) { |
435 snd_pcm_drop( handle ); |
434 snd_pcm_drop( handle ); |
436 snd_pcm_close( handle ); |
435 snd_pcm_close( handle ); |