[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]
Re: IBM ViaVoice and Alsa
- To: listaddr1@xxxxxxxxxxx
- Subject: Re: IBM ViaVoice and Alsa
- From: "T. V. Raman" <raman@xxxxxxxxxxx>
- Date: Sun, 7 May 2006 20:43:31 -0700
- Delivered-To: priestdo@xxxxxxxxxxx
- Delivered-To: emacspeak@xxxxxxxxxxx
- In-Reply-To: <17501.46887.178518.666721@xxxxxxxxxxx>
- List-Help: <mailto:emacspeak-request@xxxxxxxxxxx?subject=help>
- List-Post: <mailto:emacspeak@xxxxxxxxxxx>
- List-Subscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=subscribe>
- List-Unsubscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=unsubscribe>
- Old-Return-Path: <tvraman@xxxxxxxxxxx>
- Reply-To: raman@xxxxxxxxxxx
- Resent-Date: Sun, 7 May 2006 23:43:34 -0400 (EDT)
- Resent-From: emacspeak@xxxxxxxxxxx
- Resent-Message-ID: <7AWGw.A.0KB.m5rXEB@xxxxxxxxxxx>
- Resent-Sender: emacspeak-request@xxxxxxxxxxx
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