mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-11 14:12:26 -05:00
fix bug: WAV file playback does not resume (FS#11077)
Not only WAV but also Sun audio, SMAF, vox and WAV64 can resume. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25289 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
20fccd8489
commit
7a3822c8b0
17 changed files with 188 additions and 69 deletions
|
|
@ -40,6 +40,7 @@ bool get_vox_metadata(int fd, struct mp3entry* id3)
|
|||
* bitspersample: 4
|
||||
*/
|
||||
id3->frequency = 8000;
|
||||
id3->bitrate = 8000 * 4 / 1000;
|
||||
id3->vbr = false; /* All VOX files are CBR */
|
||||
id3->filesize = filesize(fd);
|
||||
id3->length = id3->filesize >> 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue