Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel.com>
To: "Keyon.Jey" <yang.jie@linux.jf.intel.com>
Cc: alsa-devel@alsa-project.org,
	Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Subject: Re: cplay error "Can't find sync world"
Date: Tue, 4 Jun 2013 05:29:34 +0530	[thread overview]
Message-ID: <20130603235934.GA23045@intel.com> (raw)
In-Reply-To: <51AD30FD.9080406@linux.intel.com>

On Tue, Jun 04, 2013 at 08:12:45AM +0800, Keyon.Jey wrote:

Pls *DONT* drop ppl from CC,
Pls CC maintainers

> >>when I try use clpay -c 1 -d 2 test.mp3 to use tinycompress hwdec on my
> >>phone, "Can't find sync world" always occurred, no matter what mp3 music
> >>I try to play.
> >I believe the issue here is cplay does not currently handle MP3s
> >with meta data, such as track naming etc. You will need to strip
> >anything like this from the start of the MP3 file before playing.
> it helps! thanks a lot, Charles!
The current code, doesn't parse the header looking for the SYNC bits, it checks
at a predefined offset. Which means that most of the files will work but as
Charles said, if the the file has meta data, it wont work.

And yes patch is welcome...

--
~Vinod

      reply	other threads:[~2013-06-04  0:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-03  8:37 cplay error "Can't find sync world" Keyon.Jey
2013-06-03 16:20 ` Charles Keepax
2013-06-04  0:12   ` Keyon.Jey
2013-06-03 23:59     ` Vinod Koul [this message]

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=20130603235934.GA23045@intel.com \
    --to=vinod.koul@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=ckeepax@opensource.wolfsonmicro.com \
    --cc=yang.jie@linux.jf.intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox