summaryrefslogtreecommitdiff
path: root/apps/metadata/vox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/metadata/vox.c')
-rw-r--r--apps/metadata/vox.c1
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;