* cplay error "Can't find sync world"
@ 2013-06-03 8:37 Keyon.Jey
2013-06-03 16:20 ` Charles Keepax
0 siblings, 1 reply; 4+ messages in thread
From: Keyon.Jey @ 2013-06-03 8:37 UTC (permalink / raw)
To: alsa-devel, lakshmi.n.vinnakota, vinod.koul
hi, all,
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.
vinod/guys, can you help?
regards,
Keyon
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cplay error "Can't find sync world"
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
0 siblings, 1 reply; 4+ messages in thread
From: Charles Keepax @ 2013-06-03 16:20 UTC (permalink / raw)
To: Keyon.Jey; +Cc: vinod.koul, alsa-devel, lakshmi.n.vinnakota
On Mon, Jun 03, 2013 at 04:37:08PM +0800, Keyon.Jey wrote:
> 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.
Charles
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cplay error "Can't find sync world"
2013-06-04 0:12 ` Keyon.Jey
@ 2013-06-03 23:59 ` Vinod Koul
0 siblings, 0 replies; 4+ messages in thread
From: Vinod Koul @ 2013-06-03 23:59 UTC (permalink / raw)
To: Keyon.Jey; +Cc: alsa-devel, Charles Keepax
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cplay error "Can't find sync world"
2013-06-03 16:20 ` Charles Keepax
@ 2013-06-04 0:12 ` Keyon.Jey
2013-06-03 23:59 ` Vinod Koul
0 siblings, 1 reply; 4+ messages in thread
From: Keyon.Jey @ 2013-06-04 0:12 UTC (permalink / raw)
To: alsa-devel
On 06/04/2013 12:20 AM, Charles Keepax wrote:
> On Mon, Jun 03, 2013 at 04:37:08PM +0800, Keyon.Jey wrote:
>> 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.
>
> Charles
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
it helps! thanks a lot, Charles!
Keyon
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-04 0:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.