From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2B346E007DC for ; Fri, 3 Jan 2014 13:05:08 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id 2DF4DF8121C; Fri, 3 Jan 2014 14:05:08 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 01C3CF81210; Fri, 3 Jan 2014 14:05:06 -0700 (MST) Message-ID: <52C7260A.2040209@mlbassoc.com> Date: Fri, 03 Jan 2014 14:05:14 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Eric Nelson , Fabio Estevam References: <52C6D4EF.4060502@mlbassoc.com> <52C6DC67.9080700@mlbassoc.com> <52C6EE28.2080007@boundarydevices.com> <52C6F028.7020304@mlbassoc.com> <52C70E59.8050703@boundarydevices.com> In-Reply-To: <52C70E59.8050703@boundarydevices.com> Cc: "meta-freescale@yoctoproject.org" Subject: Re: [meta-fsl-arm] i.MX6 audio performance X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2014 21:05:09 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2014-01-03 12:24, Eric Nelson wrote: > Hi Gary, > > On 01/03/2014 10:15 AM, Gary Thomas wrote: >> On 2014-01-03 10:06, Eric Nelson wrote: >>> Hi Gary, >>> >>> >>> >>>> I also noticed that on the SabreLite, mplayer is using an additional >>>> library >>>> libXxf86dga.so.1 >>>> and that it was built using hard floating point (the OMAP3 is soft). >>>> >>>> Any ideas? >>>> >>> Are you forcing ALSA output using '-ao alsa'? I've seen some issues with >>> OSS emulation and I'm not sure of the default. >>> >>> Please advise, >> >> No, I'm using it straight >> # mplayer FILE.mp3 >> Same on both platforms >> > > Do you see an output line indicating the AO used? > > It should show something like this: > AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample) > > Can you try using '-ao alsa'? Same results. Here's everything printed by mplayer: root@sabrelite:~# mplayer test.mp3 -ao alsa MPlayer2 2.0-379-ge3f5043 (C) 2000-2011 MPlayer Team 162 audio & 361 video codecs Playing test.mp3. Detected file format: MPEG audio layer 2/3 (libavformat) [mp3 @ 0x2bb83690]max_analyze_duration reached [lavf] stream 0: audio (mp3), -aid 0 Clip info: title: Wedding Bells artist: Gas House Gang album: Face The Music TYER: 0 genre: Vocal track: 2 Load subtitles in . ========================================================================== Forced audio codec: mad Requested audio codec family [mad] (afm=libmad) not available. Enable it at compilation. Requested audio codec family [mpg123] (afm=mpg123) not available. Enable it at compilation. Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 44100 Hz, 2 ch, floatle, 128.0 kbit/4.54% (ratio: 16002->352800) Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio) ========================================================================== AO: [alsa] 44100Hz 2ch floatle (4 bytes per sample) Video: no video Starting playback... To see if this is user code or kernel driver, I tried running my OMAP3 file system on the SabreLite (the OMAP3/Cortex-A8 is pretty much a subset of the CPU). Same results - broken sound when using mplayer :-( -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------