All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Eric Nelson <eric.nelson@boundarydevices.com>,
	 Fabio Estevam <festevam@gmail.com>
Cc: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Re: [meta-fsl-arm] i.MX6 audio performance
Date: Sun, 05 Jan 2014 08:16:10 -0700	[thread overview]
Message-ID: <52C9773A.3090703@mlbassoc.com> (raw)
In-Reply-To: <52C82C11.8030202@boundarydevices.com>

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,
>>>>>
>>>>>  <snip>
>>>>>
>>>>>> 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 :-(


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  reply	other threads:[~2014-01-05 15:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-03 15:19 [meta-fsl-arm] i.MX6 audio performance Gary Thomas
2014-01-03 15:23 ` Fabio Estevam
2014-01-03 15:51   ` Gary Thomas
2014-01-03 17:06     ` Eric Nelson
2014-01-03 17:15       ` Gary Thomas
2014-01-03 19:24         ` Eric Nelson
2014-01-03 21:05           ` Gary Thomas
2014-01-04 15:43             ` Eric Nelson
2014-01-05 15:16               ` Gary Thomas [this message]
2014-01-05 17:52                 ` Marco
2014-01-05 21:13                   ` Gary Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52C9773A.3090703@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=eric.nelson@boundarydevices.com \
    --cc=festevam@gmail.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.