From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f51.google.com (mail-pb0-f51.google.com [209.85.160.51]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6F74FE007C6 for ; Fri, 3 Jan 2014 09:06:55 -0800 (PST) Received: by mail-pb0-f51.google.com with SMTP id up15so15807685pbc.24 for ; Fri, 03 Jan 2014 09:06:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=u1/r2bg327hQAwQUPQQdPLx5nO//yboGLcWTHCY3OAk=; b=N7P9Z2hMYYjqBjgqjnitLO3tUOwhxfohB2WcLKHJXycq1M4uzE0HSF0xu21am2dQbR 8+B6dn6YwMcSchJ9HEcrIj7jmB1jVJLwpOe3t1AIFEwAfKM9GZ9BKOA91QBe/nml9tzf VuDbXmLQqOp96j3WTs3VNZstIf7sIcRKtrpyAunJB1x0sa0RhrbKKhS0XrSzUHiE90Qo jP/m52CMn+kpGR4sY7u8KFCR4V6y0jVntVpsclk9j+xJxDDYDXH7jit4aiIHiO5oCsXz QqOvoKw+LQ3boqQfo1pBEyr/zNQbl1SJaa3+M3F117gj8jhNS4/w5rdO3Yzcr1sfrVKi w9xw== X-Gm-Message-State: ALoCoQnmJGkHoZLFMGKQdEjJZ7nyFuj4e9oenvM7LseGQ8NInNP9pqjPFD1zDlbIjR1czEcszbyG X-Received: by 10.68.108.130 with SMTP id hk2mr11801816pbb.16.1388768815157; Fri, 03 Jan 2014 09:06:55 -0800 (PST) Received: from [29.6.1.5] ([63.226.49.26]) by mx.google.com with ESMTPSA id zc6sm94876435pab.0.2014.01.03.09.06.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 09:06:53 -0800 (PST) Message-ID: <52C6EE28.2080007@boundarydevices.com> Date: Fri, 03 Jan 2014 10:06:48 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Gary Thomas , Fabio Estevam References: <52C6D4EF.4060502@mlbassoc.com> <52C6DC67.9080700@mlbassoc.com> In-Reply-To: <52C6DC67.9080700@mlbassoc.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 17:06:58 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Gary, On 01/03/2014 08:51 AM, Gary Thomas wrote: > On 2014-01-03 08:23, Fabio Estevam wrote: >> On Fri, Jan 3, 2014 at 1:19 PM, Gary Thomas wrote: >>> I'm trying to play MP3 files on my SabreLite (using mplayer from >>> meta-oe). The performance is horrible; I only hear a fraction >>> of a second then noise/nothing then another fraction of sound, etc. >>> If I convert the file to .WAV and play using 'aplay' the sound is >>> perfect. >> >> Which mp3 decoder is being used on your test? > > This is what mplayer tells me: > ========================================================================== > 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) > > So I assume that it's using FFMPEG. I get the same messages on my OMAP3 > > I've also run the same experiment on the SabreLite using gstreamer like > this > gst-launch filesrc location=file.mp3 ! audio/mpeg,layer=3 ! > ffdec_mp3 ! alsasink > This also plays fine on the SabreLite, so it seems that it's only something > about mplayer. > > 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, Eric