Skip to contentSkip to conversation

cplay error "Can't find sync world"

DISCUSSION Keyon.Jey 3 participants 4 messages Jun 3, 2013 – Jun 4, 2013

lore
Share & tools
lore

Keyon.Jey

author
#0 lore raw

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

#1 lore raw
Quoted 3 lines · Keyon.Jey

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

author
#2 lore raw
Quoted 8 lines · Charles Keepax
Quoted 3 lines · Keyon.Jey

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.

Quoted 6 lines

Charles
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

it helps! thanks a lot, Charles!

Keyon

#3 lore raw

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

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

Quoted 7 lines
Quoted 6 lines
Quoted 3 lines

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