diff options
author | Yoshihisa Uchida <uchida@rockbox.org> | 2010-03-22 10:02:05 +0000 |
---|---|---|
committer | Yoshihisa Uchida <uchida@rockbox.org> | 2010-03-22 10:02:05 +0000 |
commit | 7a3822c8b03a5438a1bcfd6e38c0e6860dda3348 (patch) | |
tree | e50740c7f0ccd6aff1aac0e292a000ac7ef6be14 /apps/metadata/vox.c | |
parent | 20fccd84897352478c3306e41ca0fab0a5f4c65e (diff) | |
download | rockbox-7a3822c8b03a5438a1bcfd6e38c0e6860dda3348.tar.gz rockbox-7a3822c8b03a5438a1bcfd6e38c0e6860dda3348.zip |
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
Diffstat (limited to 'apps/metadata/vox.c')
-rw-r--r-- | apps/metadata/vox.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/metadata/vox.c b/apps/metadata/vox.c index 3f4e5d553c..f6bc849a88 100644 --- a/apps/metadata/vox.c +++ b/apps/metadata/vox.c | |||
@@ -40,6 +40,7 @@ bool get_vox_metadata(int fd, struct mp3entry* id3) | |||
40 | * bitspersample: 4 | 40 | * bitspersample: 4 |
41 | */ | 41 | */ |
42 | id3->frequency = 8000; | 42 | id3->frequency = 8000; |
43 | id3->bitrate = 8000 * 4 / 1000; | ||
43 | id3->vbr = false; /* All VOX files are CBR */ | 44 | id3->vbr = false; /* All VOX files are CBR */ |
44 | id3->filesize = filesize(fd); | 45 | id3->filesize = filesize(fd); |
45 | id3->length = id3->filesize >> 2; | 46 | id3->length = id3->filesize >> 2; |