00001 /* 00002 * Copyright (c) 2010, Texas Instruments Incorporated 00003 * All rights reserved. 00004 * 00005 * Redistribution and use in source and binary forms, with or without 00006 * modification, are permitted provided that the following conditions 00007 * are met: 00008 * 00009 * * Redistributions of source code must retain the above copyright 00010 * notice, this list of conditions and the following disclaimer. 00011 * 00012 * * Redistributions in binary form must reproduce the above copyright 00013 * notice, this list of conditions and the following disclaimer in the 00014 * documentation and/or other materials provided with the distribution. 00015 * 00016 * * Neither the name of Texas Instruments Incorporated nor the names of 00017 * its contributors may be used to endorse or promote products derived 00018 * from this software without specific prior written permission. 00019 * 00020 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00021 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 00022 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00023 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 00024 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00025 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00026 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 00027 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 00028 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 00029 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 00030 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00031 * 00032 */ 00033 00046 #ifndef ti_xdais_dm_IAUDIO_ 00047 #define ti_xdais_dm_IAUDIO_ 00048 00049 #ifdef __cplusplus 00050 extern "C" { 00051 #endif 00052 00055 00056 #ifdef XDM_INCLUDE_DOT9_SUPPORT 00057 00065 typedef enum { 00066 IAUDIO_MONO = 0, 00067 IAUDIO_STEREO = 1, 00068 IAUDIO_THREE_ZERO = 2, 00069 IAUDIO_FIVE_ZERO = 3, 00070 IAUDIO_FIVE_ONE = 4, 00071 IAUDIO_SEVEN_ONE = 5 00072 } IAUDIO_ChannelId; 00073 #endif 00074 00075 00088 typedef enum 00089 { 00090 IAUDIO_1_0 = 0, 00091 IAUDIO_2_0 = 1, 00092 IAUDIO_11_0 = 2, 00096 IAUDIO_3_0 = 3, 00097 IAUDIO_2_1 = 4, 00098 IAUDIO_3_1 = 5, 00099 IAUDIO_2_2 = 6, 00100 IAUDIO_3_2 = 7, 00101 IAUDIO_2_3 = 8, 00102 IAUDIO_3_3 = 9, 00103 IAUDIO_3_4 =10 00105 } IAUDIO_ChannelMode; 00106 00107 00121 typedef enum 00122 { 00123 IAUDIO_DUALMONO_LR = 0, 00124 IAUDIO_DUALMONO_LEFT = 1, 00125 IAUDIO_DUALMONO_RIGHT = 2, 00126 IAUDIO_DUALMONO_LR_MIX = 3 00127 } IAUDIO_DualMonoMode; 00128 00129 00137 typedef enum { 00143 IAUDIO_BLOCK = 0, 00144 00150 IAUDIO_INTERLEAVED = 1 00151 } IAUDIO_PcmFormat; 00152 00153 00161 typedef enum 00162 { 00163 IAUDIO_CBR = 0, 00164 IAUDIO_VBR = 1 00165 } IAUDIO_EncMode; 00166 00167 00170 #ifdef __cplusplus 00171 } 00172 #endif 00173 00174 #endif 00175 /* 00176 * @(#) ti.xdais.dm; 1, 0, 5,245; 5-4-2010 08:44:03; /db/wtree/library/trees/dais/dais-q11x/src/ 00177 */ 00178