src/multimedia/audio/qaudioinput_alsa_p.cpp
changeset 22 79de32ba3296
parent 19 fcece45ef507
child 23 89e065397ea6
equal deleted inserted replaced
19:fcece45ef507 22:79de32ba3296
   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 );