This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8037 - Playback stops when playing mp3 followed by ogg
Attached to Project:
Rockbox
Opened by Bertrik Sikken (bertrik) - Sunday, 28 October 2007, 09:52 GMT+2
Last edited by Steve Bavin (pondlife) - Monday, 05 November 2007, 09:40 GMT+2
Opened by Bertrik Sikken (bertrik) - Sunday, 28 October 2007, 09:52 GMT+2
Last edited by Steve Bavin (pondlife) - Monday, 05 November 2007, 09:40 GMT+2
|
DetailsWith official build 15338, when I have an mp3 playing and select an ogg for playback, music playback continues a few seconds playing the mp3, then stops (not playing the ogg). The e200 seems to be in some kind of confused state now, it still responds to user input, but for example shutting it down results in a 'shutting down...' splash but it doesn't actually shut down.
Playing two oggs after another or two mp3s after another works fine. Playing an mp3 after an ogg works fine too. In the debug menu, the OS stacks screen shows 89% for the codec thread and 74% for the audio thread. The buffering thread menu shows pcm:0/52900, alloc 29703516/29745984, real 42496/29745984, usefl 8512/29745984. |
This task depends upon
Closed by Steve Bavin (pondlife)
Monday, 05 November 2007, 09:40 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed, and Brandon's reworked his code nicely now.
Monday, 05 November 2007, 09:40 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed, and Brandon's reworked his code nicely now.
I tried various versions between 15200 and 15338. It turns out that with 15305 switching from mp3 to ogg still worked, but with 15306 it stopped working. SVN commit 15306 was the MoB commit.
In fact, of all the random weirdness I've seen in recent versions since the MoB commit, this can be reproduced every time.
Recipe:
* wipe .rockbox dir on the sansa, install a fresh zip, reboot
* initialize database, reboot when done
* use database menu to select an mp3 and play it
* press select, select an ogg from the music database and play it
-> result: mp3 keeps on playing for a few seconds, ogg never starts, sansa is in confused state now
The oggs and mp3's were tagged using tag&rename 3.0.1
(In that order)
-I initialize the database
-I play a m4a or mp3 file --> plays fine
-I switch from mp3 to mp3 or m4a to m4a --> plays fine
-I switch to from m4a to mp3 --> loads but doesn't play (aka shows tags)
-I switch from mp3 to m4a --> loads but doesn't play
When I now switch to mp3 or m4a neither one plays.
Two other things I've noticed:
-When a song doesn't play, and I hold play button for stopping playback, the play freezes, hard shutdown/player reset needed.
-Sometimes (not allways) when a file doesn't play, and I shut down the player normally, it freezes at shutdown.
Sansa e200 and r15353
r15331-071027 (so within bertrik's discovered range)
Is it important that the ogg is in a seperate folder to the mp3 (or somewhere where it won't have been pre-buffered)?
update: same behaviour with 15381 build (downloaded this morning)
steve: it seems so, but i will confirm this evening, when i get home and have some time to test.
if the ogg is in the playlist it goes okay (probably because it is buffered in advance). it is on
manual selection that this happens. i do have the ogg in a different dir, everytime. i will test
this evening to see if it really matters/what really matters. i will also attach the cfg, but it
is the one that comes with the build, i do have some themes, but it doesn't seem to matter.
btw: i think it is specific to the sansa target (e200 series, maybe, even)
I'd suspect it's only a problem on Flash-based players, rather than just Sansa, but that's a guess.
bitrate of ogg: not relevant, i have various bitrate ones, most variable anyway (not sure if constant also, must check)
bitrate of mp3: not relevant
ogg in same dir as mp3: not relevant
wma instead of mp3: all seems fine (though the playing does continue for a few seconds, like switching from mp3 to ogg, but
the ogg does play fine eventually)
(allready known, but for an overview)
ogg to ogg: works fine
ogg to mp3: works fine
anybody else managed to reproduce on anything that is not a sansa (or even sansa e200)? if not, maybe we should rename this to not confuse developers trying to help into testing on something else?
* installed svn 15386 on a sansa e200, rebooted
* used database to start playback of an mp3 song (part of an album)
* used database to start playback of an ogg song (part of an album, in a different directory)
* (mp3 kept playing for some seconds, ogg didn't start)
* went straight to debug menu to dump logf
- stoping the playback of the mp3 (pause really. don't know how to "stop") and selecting an ogg
afterwards yelds the same result
- after the playback breaks, trying to switch to fm radio brings the player in the state where a
"hard" poweroff is needed
However I cannot test with FM radio, as I have a EU Sansa.
but i will test this evening and let you know. can't wait ;)
ps: mine is bought in eu also. it seems vendors don;t really do what sandisk tells them,
or maybe the rule is not set in stone..
ps: really sorry about the duplicate posts, the behaviour on refresh is very strange. can somebody help deleting those? :(
About the bug, I need to look closely at Brandon's commit and come up with a clean way of implementing it, so I'm leaving the task open for now :)