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

Re: Sometimes bad responsiveness with outloud and alsa 1.0.16



Lukas, worth a try, haven't looked at OSS4, have bad memories of
OSS in general. I agree ALSA is complex; for example on my
laptop, a recent kernel upgrade introduced a bug in teh snoop
plugin that caused a lot of noise on the mic, took several hours
to debug, with the solution being to create a 4 line asoundrc
that disabled the snoop plugin. I too wish alsa were better
documented, but it's also the best sound system I've seen. 

Your guess as to how I came up with 0.02 is indeed correct.

>>>>> "Lukas" == Lukas Loehrer <listaddr1@gmx.net> writes:
    Lukas> Hi Raman,
    Lukas> 
    Lukas> if I guess it correctly, the current value of 0.02
    Lukas> seconds is chosen as slightly less than 0.023 seconds
    Lukas> which is 256/11025, which would be the period time
    Lukas> with a period size of 256 samples. The idea would then
    Lukas> be that after waiting for this amount of time, there
    Lukas> will be space in the buffer for another chunk of
    Lukas> samples.
    Lukas> 
    Lukas> Tweaking parameters in the .asoundrc file or the above
    Lukas> value might work indeed, I am still somewhat puzzled
    Lukas> how the alsa upgrade could make this problem so much
    Lukas> worse.
    Lukas> 
    Lukas> On the topic of sound subsystems, I am considering to
    Lukas> give the recently GPL-ed OSS 4.0 [1] a try. I still
    Lukas> find alsa pretty difficult to code for especially
    Lukas> because the docs are so sparse. Also, I very much
    Lukas> dislike the often required fiddling with the .asoundrc
    Lukas> settings to get decent behavior. I do not know if OSS
    Lukas> 4 is better in this respect, but it might be worth a
    Lukas> try on machines where alsa cannot be persuaded to
    Lukas> deliver usable results. The OSS API is certanly much
    Lukas> simpler than alsa's and software mixing is supported
    Lukas> as well.
    Lukas> 
    Lukas> Best regards, Lukas
    Lukas> 
    Lukas> [1] http://developer.opensound.com/
    Lukas> 
    Lukas> -----------------------------------------------------------------------------
    Lukas> To unsubscribe from the emacspeak list or change your
    Lukas> address on the emacspeak list send mail to
    Lukas> "emacspeak-request@cs.vassar.edu" with a subject of
    Lukas> "unsubscribe" or "help"

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
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@cs.vassar.edu" with a
subject of "unsubscribe" or "help"



If you have questions about this archive or had problems using it, please send mail to:

priestdo@cs.vassar.edu No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog | Search the archive