forked from len0rd/rockbox
SPC Codec: Have metadata parser fill in frequency and bitrate.
Change-Id: I6c72f4d1c79b1a99a11fb28e7d46886c08a56a75
This commit is contained in:
parent
1f76edabf9
commit
ed24e62029
1 changed files with 2 additions and 0 deletions
|
@ -121,6 +121,8 @@ bool get_spc_metadata(int fd, struct mp3entry* id3)
|
|||
fade=5*1000; /* 5 seconds */
|
||||
}
|
||||
|
||||
id3->bitrate = 1536; /* 32kHz * 24bits/ch / 1000 */
|
||||
id3->frequency = 32000;
|
||||
id3->length = length+fade;
|
||||
|
||||
id3->filesize = filesize(fd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue