-- Wojtek
---------- Forwarded message ---------- From: Wojciech Bober <wojciech.bo...@gmail.com> Date: 2010/10/26 Subject: Re: [Alsa-user] Can't play mp3 with mpg123, but wav with aplay works To: Sergei Steshenko <steshenko_ser...@list.ru> 2010/10/26 Sergei Steshenko <steshenko_ser...@list.ru>: > 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user