On 4/13/07, Jason Heeris <[EMAIL PROTECTED]> wrote:
 > But to answer your question, if I try:
>
> --
> $ alsaplayer -i text -o alsa -d hw:2 -f
> 4096 /usr/share/sounds/generic.wav
> Unable to install hw params:
> ACCESS:  RW_INTERLEAVED
> FORMAT:  S16_LE
> SUBFORMAT:  STD
> SAMPLE_BITS: 16
> FRAME_BITS: 32
> CHANNELS: 2
> RATE: 44100
> PERIOD_TIME: (23219 23220)
> PERIOD_SIZE: 1024
> PERIOD_BYTES: 4096
> PERIODS: 8
> BUFFER_TIME: (185759 185760)
> BUFFER_SIZE: 8192
> BUFFER_BYTES: 32768
> TICK_TIME: 1000
> failed to configure output device...trying OSS

That's an alsaplayer bug, it seems to assume that ALSA can handle any
period size it asks for then falls back to OSS if it fails.  The app
should try a different period size or ask ALSA for a valid one.

Lee

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to