summaryrefslogtreecommitdiff
path: root/apps/codecs/libwavpack/metadata.c
diff options
context:
space:
mode:
authorDave Bryant <bryant@rockbox.org>2007-08-12 06:36:06 +0000
committerDave Bryant <bryant@rockbox.org>2007-08-12 06:36:06 +0000
commitbcf97a480115aa653af9e0eb5c012fc3673bc00f (patch)
tree32155aaf9a95a35b7b6a1fafd81e49a0aa3acc1e /apps/codecs/libwavpack/metadata.c
parent53095684f70a4a4b27339677de48683d3cd5da17 (diff)
Move WavPack metadata parsing to its own file and add handling of non-standard sampling rates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14289 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwavpack/metadata.c')
-rw-r--r--apps/codecs/libwavpack/metadata.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/codecs/libwavpack/metadata.c b/apps/codecs/libwavpack/metadata.c
index c7f2d61841..c944093b19 100644
--- a/apps/codecs/libwavpack/metadata.c
+++ b/apps/codecs/libwavpack/metadata.c
@@ -102,6 +102,9 @@ int process_metadata (WavpackContext *wpc, WavpackMetadata *wpmd)
case ID_CHANNEL_INFO:
return read_channel_info (wpc, wpmd);
+ case ID_SAMPLE_RATE:
+ return read_sample_rate (wpc, wpmd);
+
case ID_CONFIG_BLOCK:
return read_config_info (wpc, wpmd);