1
2
3 #ifndef __Q6DSP_COMMON_H__
4 #define __Q6DSP_COMMON_H__
5
6 #include <linux/kernel.h>
7
8 #define PCM_MAX_NUM_CHANNEL 8
9 #define PCM_CHANNEL_NULL 0
10
11 #define PCM_CHANNEL_FL 1
12 #define PCM_CHANNEL_FR 2
13 #define PCM_CHANNEL_FC 3
14 #define PCM_CHANNEL_LS 4
15 #define PCM_CHANNEL_RS 5
16 #define PCM_CHANNEL_LFE 6
17 #define PCM_CHANNEL_CS 7
18 #define PCM_CHANNEL_LB 8
19 #define PCM_CHANNEL_RB 9
20 #define PCM_CHANNELS 10
21
22 int q6dsp_map_channels(u8 ch_map[PCM_MAX_NUM_CHANNEL], int ch);
23
24 #endif