On Tue, 26 Oct 2010 12:04:25 +0100
Wojciech Bober <wojciech.bober@...> wrote:
> 2010/10/26 Sergei Steshenko <steshenko_sergei@...>:
> > IIRC ("I got to the stage where I'm able to play a wav file using aplay"), you did manage to play WAV file(s) using 'aplay', so if 'aplay' works, ALSA is
> > clean/kosher, and the issue(s) are with other applications, with their ALSA
> > interface.
> >
> > According to my
> >
> > ~/AFSWD/install/mpg123-1.12.5/binsh/mpg123 --help
> >
> > "-a d set audio device", so which devices did you try to set ?
>
> The device was the same:
>
> mpg123 -vvv -a plughw:0,0 -o alsa Take_Five.mp3
> aplay -v -d plughw:0,0 take_file.wav
>
> I also suspected that it's a problem of mp3 decoding, so I tried to
> use mplayer to play a wav file:
> mplayer -ao alsa:device=plughw=0.0 take_file.wav
>
> But mplayer stops at 0.0 seconds.
>
> I cannot use hw:0.0 directly, because the sound card seems to accept
> samples only in S32_BE format. The question is what is aplay doing
> that mplayer/cmus/alsaplayer etc isn't?
>
> Wojtek
>
If your
aplay -v -d plughw:0,0
works, then the WAV file number of bits is compatible with with your
card.
What does
file take_file.wav
show ?
...
How about
"--reopen force close/open on audiodevice"
in mpg123 ?
Regards,
Sergei.
|