At Wed, 9 Oct 2002 11:08:43 -0700 (PDT),
Albert Jongkit Wong wrote:
> 
> > do you mean that the playback position moves but no sounds come out?
> > and does oss plugin work?
> 
> With the alsa plugin, the playback position moves and I get stuff that 
> just sounds like static instead of music (the volume controls still work).  
> The oss plugin works fine.  

strange...

> I just tried another test by doing:
> 
> mpg321 -s /mnt/mp3/Mpegs/Anime/Arc\ en\ Ciel,\ Le/DIVE_T~1.MP3 | aplay -c 
> 2 -t raw -r 44100 -f S16_LE -
> 
> Which worked properly.  Is it possible that xmms, esd, mplayer, etc are
> the broken ones?

i don't think all of them are broken.
possibly this behavior might be influenced by the period size, etc.
can you check /proc/asound/card0/pcm0p/sub0/hw_params at each case and
compare them?

> 
> > please check /proc/asound/card0/stream0 which format is supported
> > actually.
> 
> I'm not sure how to read this output, so I'm pasting it below.
> 
> terran@Mittermeyer asound $ cat card0/stream0 
> Apple Computer, Inc. Speakers : USB Audio
> 
> Playback:
>   Status: Stop
>   Interface 1
>     Altset 1
>     Format: S16_LE
>     Channels: 1
>     Endpoint: 1 OUT (ADAPTIVE)
>     Rates: 5000 - 50000 (continous)
>   Interface 1
>     Altset 2
>     Format: S16_LE
>     Channels: 2
>     Endpoint: 1 OUT (ADAPTIVE)
>     Rates: 5000 - 50000 (continous)
>   Interface 1
>     Altset 3
>     Format: S24_3LE
>     Channels: 2
>     Endpoint: 1 OUT (ADAPTIVE)
>     Rates: 5000 - 50000 (continous)

ok, the above means that the pcm supports three different formats,
16bit and 24bit, one or two channels for S16_LE.
it looks ok.

btw, if you look at this file during the pcm is running, the running
status is also shown.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to