1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2006 Michael Sevakis
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
22 /** aiff_enc.codec **/
26 /* These are in descending order rather than in MPEG frequency index
28 const unsigned long mp3_enc_sampr
[MP3_ENC_NUM_SAMPR
] =
30 48000, 44100, 32000, /* MPEG 1 */
31 24000, 22050, 16000, /* MPEG 2 */
33 12000, 11025, 8000, /* MPEG 2.5 */
37 /* All bitrates used in the MPA L3 standard */
38 const unsigned long mp3_enc_bitr
[MP3_ENC_NUM_BITR
] =
40 8, 16, 24, 32, 40, 48, 56, 64, 80,
41 96, 112, 128, 144, 160, 192, 224, 256, 320
46 /** wavpack_enc.codec **/
48 /** public functions **/