From c9183bf15e56bbc795f9fb08027ee6285b2ebed4 Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Wed, 27 Jan 2010 17:25:10 +0000 Subject: 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 --- apps/codecs/libpcm/support_formats.h | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 apps/codecs/libpcm/support_formats.h (limited to 'apps/codecs/libpcm/support_formats.h') 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 -- cgit v1.1