[vorbis-dev] alsa09 driver updated

Jack Moffitt
Thu, 06 Dec 2001 23:31:16 -0000

I updated the alsa09 driver.  Specifically:

- ripped out the ugly internal buffering.  there's no need for this, and
  i'm pretty sure it was cut&pasted out of the alsa05 driver.

- tweaked the default periodsize and number of periods.  on my ibook,
  the values were too high.  my card doesn't have that much buffer.
  what is there now should work on more systems, and also should be more
  robust to underruns.

 - got rid of the NONBLOCK flag.  The code was only half-way geared to
   nonblocking mode, resulting in very high cpu load with the alsa
   driver (more than 2x the oss drvier).  Getting rid of the flag fixed
   the problem.  Other apps seems to use this mode by default as well.

- made minor changes to track latest alsa cvs code.

It seems to be working quite well on my system here, but I do notice
that mono files are getting spit out of only my left channel, instead of
both.  Other alsa apps I have do not exhibit this behavior, and as far
as I can tell, there's no significant difference in the sound
output/setup code.

Can anyone confirm this bug?  Does anyone have any idea what could be
up?

jack.

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to
'vorbis-dev-request@xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.