1
0
Fork 0
forked from len0rd/rockbox

Now sets bitrate to VARIABLE_BIT_RATE if VBR

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1325 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-07-04 06:42:51 +00:00
parent 2e525fe9ed
commit 434b788a1f
2 changed files with 3 additions and 0 deletions

View file

@ -501,6 +501,7 @@ getsonglength(int fd, struct mp3entry *entry)
(frame[42] << 8) | frame[43]; (frame[42] << 8) | frame[43];
filetime = framecount * tpf; filetime = framecount * tpf;
entry->bitrate = VARIABLE_BIT_RATE;
} }
/* We don't care about the file size and the TOC just yet. Maybe /* We don't care about the file size and the TOC just yet. Maybe
another time. */ another time. */

View file

@ -19,6 +19,8 @@
#ifndef ID3_H #ifndef ID3_H
#define ID3_H #define ID3_H
#define VARIABLE_BIT_RATE 1
struct mp3entry { struct mp3entry {
char path[256]; char path[256];
char *title; char *title;