My driver do not work anymore with xmms (alsa-xmms plugin) and
alsaplayer. I have no idea when that happened because I always use
alsa-utils to make tests and I made a lot of changes since the last time
I tested xmms and ap. Alsaplayer writes this:

[EMAIL PROTECTED] Giu]$ alsaplayer 
ALSA lib pcm_mmap.c:351:(snd_pcm_mmap) mmap failed: Invalid argument
Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_BE
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: 10000

But the ll driver writelogs:

pcm_hw_params (bufsize=32768B periods=16 persize=2048B)
pcm_hw_params ok
Prepare rate=44100 format=2 channels=2
Prepare ok
(Format 2 is S16_LE).

Xmms says "sample format not available:invalid argument". My driver do
not report any failure, so the error comes from the middle layer or from
alsa-lib. How can I debug it ? I'm using 0.9.2 release.


Bye.




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to