mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-18 01:22:38 -05:00
Remove ATRAC3 specific fields (channels, extradata_size) from mp3entry
Also fixes typo of using never initialized id3->channels in wav metadata (introduced in 2d1937a1)
Change-Id: I28cddec2b9d9bd1e756ffaa004b4f6e8528a7566
This commit is contained in:
parent
be16edc94b
commit
76ec55cc49
11 changed files with 22 additions and 35 deletions
|
|
@ -502,8 +502,6 @@ bool get_rm_metadata(int fd, struct mp3entry* id3)
|
|||
break;
|
||||
}
|
||||
|
||||
id3->channels = rmctx->nb_channels;
|
||||
id3->extradata_size = rmctx->extradata_size;
|
||||
id3->bitrate = (rmctx->bit_rate + 500) / 1000;
|
||||
id3->frequency = rmctx->sample_rate;
|
||||
id3->length = rmctx->duration;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue