[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Re: IBM ViaVoice and Alsa



You wrote:
<cite>

The funtion alsa_reset does not close the sound device but just opens
a new one. This will most likely cause a resource leak. I changed the
funtion to:

void 
alsa_reset () {
  snd_pcm_drop (AHandle);
  snd_pcm_prepare(AHandle);
}

</cite>

I've updated atcleci.cpp to use snd_pcm_prepare in alsa_reset.

-- 
Best Regards,
--raman

      
Email:  raman@xxxxxxxxxxx
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@xxxxxxxxxxx
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"


Emacspeak Files | Subscribe | Unsubscribe | Search