mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
Fix FS #7973. Hack a way to make skip to start of track work for WMA until we have proper seeking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15166 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b1caffc7bd
commit
a478e46946
1 changed files with 5 additions and 2 deletions
|
@ -373,10 +373,13 @@ enum codec_status codec_main(void)
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Deal with any pending seek requests - ignore them */
|
/* Deal with any pending seek requests */
|
||||||
if (ci->seek_time)
|
if (ci->seek_time)
|
||||||
{
|
{
|
||||||
|
/* Ignore all seeks for now, unless for the start of the track */
|
||||||
ci->seek_complete();
|
ci->seek_complete();
|
||||||
|
if (ci->seek_time == 1)
|
||||||
|
goto next_track; /* Pretend you never saw this... */
|
||||||
}
|
}
|
||||||
|
|
||||||
res = asf_read_packet(&audiobuf, &audiobufsize, &packetlength, &wfx);
|
res = asf_read_packet(&audiobuf, &audiobufsize, &packetlength, &wfx);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue