summaryrefslogtreecommitdiff
path: root/apps/codecs/libpcm/support_formats.h
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2010-01-27 17:25:10 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2010-01-27 17:25:10 +0000
commitc9183bf15e56bbc795f9fb08027ee6285b2ebed4 (patch)
treee355d4ebbdb9b06e7da5260ec58679aa96da15f1 /apps/codecs/libpcm/support_formats.h
parent7a50f6f2740b84d10cbb021fd59a870c09688b88 (diff)
downloadrockbox-c9183bf15e56bbc795f9fb08027ee6285b2ebed4.zip
rockbox-c9183bf15e56bbc795f9fb08027ee6285b2ebed4.tar.gz
rockbox-c9183bf15e56bbc795f9fb08027ee6285b2ebed4.tar.bz2
rockbox-c9183bf15e56bbc795f9fb08027ee6285b2ebed4.tar.xz
Commit FS#10422 by Yoshihisa Uchida. Seperates WAV and AIFF parsing from PCM decoding by introducing libpcm, a library for decoding linear and non-uniform PCM independently of the container format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24346 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libpcm/support_formats.h')
-rw-r--r--apps/codecs/libpcm/support_formats.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/apps/codecs/libpcm/support_formats.h b/apps/codecs/libpcm/support_formats.h
new file mode 100644
index 0000000..9a1f4f7
--- /dev/null
+++ b/apps/codecs/libpcm/support_formats.h
@@ -0,0 +1,37 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2009 Yoshihisa Uchida
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+#ifndef CODEC_LIBPCMS_SUPPORT_FORMATS_H
+#define CODEC_LIBPCMS_SUPPORT_FORMATS_H
+
+#include "pcm_common.h"
+
+/* Linear PCM */
+const struct pcm_codec *get_linear_pcm_codec(void);
+
+/* ITU-T G.711 A-law */
+const struct pcm_codec *get_itut_g711_alaw_codec(void);
+
+/* ITU-T G.711 mu-law */
+const struct pcm_codec *get_itut_g711_mulaw_codec(void);
+
+/* Intel DVI ADPCM */
+const struct pcm_codec *get_dvi_adpcm_codec(void);
+#endif