From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 35FD3E00529 for ; Sun, 5 Jan 2014 09:52:38 -0800 (PST) Received: by mail-ob0-f171.google.com with SMTP id wp18so17503636obc.2 for ; Sun, 05 Jan 2014 09:52:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:organization:user-agent:mime-version :to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=gsCmp+pI+c5XLCOisc7HmYRBj/ljqsPFYybBURLMuow=; b=m5/xIZkhSR4zJp6HluCqf8jY76VHcQJqx1imbZLJ3jT3Ne5OWJLXmUSHzhLNhjbCZI PsPp5gHzdg/Ix3MF8L2j1Im2uPso83iLdsi0UNR2CDnv1qOxSjmmGNf4Qmz5JnQWGD0r rwuAjTkDTtWySP8Kal6IApwBAcuTYRmmPWGXodNq4E4Eo8Vv0s9zIVSaMMgfhNA96+r7 r0tjj8P2DPoGOt+D8/oY0atSc6f2SrkjfnyI/NSh7OcrzsH7pktRfelfBuB+bnHaAMJa hPe++7nAs3sAuaj0W7/K2dq/NA13+A8hBsP388/eN6juU/nd5K3NXpvqeHCi3mObfCC0 bENg== X-Received: by 10.182.113.195 with SMTP id ja3mr2052432obb.46.1388944357677; Sun, 05 Jan 2014 09:52:37 -0800 (PST) Received: from [10.1.10.31] (host61-87-static.14-79-b.business.telecomitalia.it. [79.14.87.61]) by mx.google.com with ESMTPSA id si9sm95557185oeb.8.2014.01.05.09.52.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 05 Jan 2014 09:52:36 -0800 (PST) Message-ID: <52C99BE1.7090701@gmail.com> Date: Sun, 05 Jan 2014 18:52:33 +0100 From: Marco Organization: MC User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" References: <52C6D4EF.4060502@mlbassoc.com> <52C6DC67.9080700@mlbassoc.com> <52C6EE28.2080007@boundarydevices.com> <52C6F028.7020304@mlbassoc.com> <52C70E59.8050703@boundarydevices.com> <52C7260A.2040209@mlbassoc.com> <52C82C11.8030202@boundarydevices.com> <52C9773A.3090703@mlbassoc.com> In-Reply-To: <52C9773A.3090703@mlbassoc.com> Subject: Re: [meta-fsl-arm] i.MX6 audio performance X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: koansoftware@gmail.com 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: Sun, 05 Jan 2014 17:52:39 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Il 05/01/2014 16:16, Gary Thomas ha scritto: > On 2014-01-04 08:43, Eric Nelson wrote: >> Hi Gary, >> >> On 01/03/2014 02:05 PM, Gary Thomas wrote: >>> 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) >>> ========================================================================== >>> >> >> This is likely the culprit. I don't think that floatle is a valid audio >> format for either the SGTL5000 or HDMI devices: > > It makes sound - just choppy (not like it makes only noise) > > Give a listen to these to hear what I'm talking about. > http://www.mlbassoc.com/poky/sample-BAD.m4a > http://www.mlbassoc.com/poky/sample-OK.m4a > >> >>> 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 :-( > > I tested it with Gstreamer and it worked with a charm gst-launch filesrc location=/home/root/blurred_lines.mp3 ! mpegaudioparse ! beepdec ! audioconvert ! alsasink Just my 2 cents. Cordiali Saluti / Kindest Regards / Mit freundlichen Grüßen -- Marco Cavallini | KOAN sas | Bergamo - Italia embedded and real-time software engineering Phone:+39-035-255.235 - Fax:+39-178-22.39.748 http://www.KoanSoftware.com http://www.KaeilOS.com