From 2e314093c8b9f594f0baa1a253125e6d87452eae Mon Sep 17 00:00:00 2001 From: Mohamed Tarek Date: Tue, 16 Feb 2010 01:47:22 +0000 Subject: "Detach" ATRAC3 from RM. Since ATRAC3 isn't really specific to RM, it must not be obligatory to initialize the decoder through RMContext. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24682 a1c6a512-1295-4272-9138-f99709370657 --- apps/metadata/rm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/metadata/rm.c') diff --git a/apps/metadata/rm.c b/apps/metadata/rm.c index 5740616042..63328a3ab1 100644 --- a/apps/metadata/rm.c +++ b/apps/metadata/rm.c @@ -438,6 +438,8 @@ 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 / 1000; id3->frequency = rmctx->sample_rate; id3->length = rmctx->duration; -- cgit v1.2.3