Re: Can't play mp3 with mpg123, but wav with aplay works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The problem was solved by updating the kernel to 2.6.36.

--
Wojtek



2010/10/26 Wojciech Bober <wojciech.bober@xxxxxxxxx>:
> 2010/10/26 Sergei Steshenko <steshenko_sergei@xxxxxxx>:
>> aplay -v -d plughw:0,0
>>
>> works, then the WAV file number of bits is compatible with with your
>> card.
>
> Correct me if I'm wrong, but from the output of aplay it looks like it
> isn't compatible. See below.
>
> The wave file is S16_LE, then the plug comes in and converts it from
> S16_LE to S32_BE in order to play it on the slave device (hw:0,0)
> which is S32_BE.
>
> aplay -v -d plughw:0,0 take_file.wav
> Code:
> Playing WAVE 'take_file.wav' : Signed 16 bit Little Endian, Rate 44100
> Hz, Stereo
> Plug PCM: Linear conversion PCM (S32_BE)
> Its setup is:
> Âstream    : PLAYBACK
> Âaccess    : RW_INTERLEAVED
> Âformat    : S16_LE
> Âsubformat  Â: STD
> Âchannels   : 2
> Ârate     : 44100
> Âexact rate  : 44100 (44100/1)
> Âmsbits    : 16
> Âbuffer_size Â: 22052
> Âperiod_size Â: 5513
> Âperiod_time Â: 125011
> Âtstamp_mode Â: NONE
> Âperiod_step Â: 1
> Âavail_min  Â: 5513
> Âperiod_event : 0
> Âstart_threshold Â: 22052
> Âstop_threshold  : 22052
> Âsilence_threshold: 0
> Âsilence_size : 0
> Âboundary   : 1445199872
> Slave: Hardware PCM card 0 'Efika' device 0 subdevice 0
> Its setup is:
> Âstream    : PLAYBACK
> Âaccess    : MMAP_INTERLEAVED
> Âformat    : S32_BE
> Âsubformat  Â: STD
> Âchannels   : 2
> Ârate     : 44100
> Âexact rate  : 44100 (44100/1)
> Âmsbits    : 32
> Âbuffer_size Â: 22052
> Âperiod_size Â: 5513
> Âperiod_time Â: 125011
> Âtstamp_mode Â: NONE
> Âperiod_step Â: 1
> Âavail_min  Â: 5513
> Âperiod_event : 0
> Âstart_threshold Â: 22052
> Âstop_threshold  : 22052
> Âsilence_threshold: 0
> Âsilence_size : 0
> Âboundary   : 1445199872
> Âappl_ptr   : 0
> Âhw_ptr    : 0
>
>>
>> What does
>>
>> file take_file.wav
>>
>> show ?
>>
>> ...
>>
>> How about
>>
>> "--reopen      force close/open on audiodevice"
>>
>> in mpg123 ?
>
> I'll try that later on today, and let you know.
>
> --
> Wojtek
>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux