Subhash Chandra Bose Naripeddy | e656216 | 2012-12-12 15:11:38 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | #ifndef __Q6_ASM_V2_H__ |
| 13 | #define __Q6_ASM_V2_H__ |
| 14 | |
| 15 | #include <mach/qdsp6v2/apr.h> |
Ben Romberger | 092d70c | 2013-08-07 15:33:47 -0700 | [diff] [blame] | 16 | #include <mach/qdsp6v2/rtac.h> |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 17 | #include <sound/apr_audio-v2.h> |
| 18 | #include <linux/list.h> |
Mitchel Humpherys | 71a6ac9 | 2012-09-06 10:22:31 -0700 | [diff] [blame] | 19 | #include <linux/msm_ion.h> |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 20 | |
| 21 | #define IN 0x000 |
| 22 | #define OUT 0x001 |
| 23 | #define CH_MODE_MONO 0x001 |
| 24 | #define CH_MODE_STEREO 0x002 |
| 25 | |
| 26 | #define FORMAT_LINEAR_PCM 0x0000 |
| 27 | #define FORMAT_DTMF 0x0001 |
| 28 | #define FORMAT_ADPCM 0x0002 |
| 29 | #define FORMAT_YADPCM 0x0003 |
| 30 | #define FORMAT_MP3 0x0004 |
| 31 | #define FORMAT_MPEG4_AAC 0x0005 |
| 32 | #define FORMAT_AMRNB 0x0006 |
| 33 | #define FORMAT_AMRWB 0x0007 |
| 34 | #define FORMAT_V13K 0x0008 |
| 35 | #define FORMAT_EVRC 0x0009 |
| 36 | #define FORMAT_EVRCB 0x000a |
| 37 | #define FORMAT_EVRCWB 0x000b |
| 38 | #define FORMAT_MIDI 0x000c |
| 39 | #define FORMAT_SBC 0x000d |
| 40 | #define FORMAT_WMA_V10PRO 0x000e |
| 41 | #define FORMAT_WMA_V9 0x000f |
| 42 | #define FORMAT_AMR_WB_PLUS 0x0010 |
| 43 | #define FORMAT_MPEG4_MULTI_AAC 0x0011 |
| 44 | #define FORMAT_MULTI_CHANNEL_LINEAR_PCM 0x0012 |
Subhash Chandra Bose Naripeddy | af3e03d | 2013-02-08 11:35:55 -0800 | [diff] [blame] | 45 | #define FORMAT_AC3 0x0013 |
| 46 | #define FORMAT_EAC3 0x0014 |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 47 | |
| 48 | #define ENCDEC_SBCBITRATE 0x0001 |
| 49 | #define ENCDEC_IMMEDIATE_DECODE 0x0002 |
| 50 | #define ENCDEC_CFG_BLK 0x0003 |
| 51 | |
| 52 | #define CMD_PAUSE 0x0001 |
| 53 | #define CMD_FLUSH 0x0002 |
| 54 | #define CMD_EOS 0x0003 |
| 55 | #define CMD_CLOSE 0x0004 |
| 56 | #define CMD_OUT_FLUSH 0x0005 |
| 57 | |
| 58 | /* bit 0:1 represents priority of stream */ |
| 59 | #define STREAM_PRIORITY_NORMAL 0x0000 |
| 60 | #define STREAM_PRIORITY_LOW 0x0001 |
| 61 | #define STREAM_PRIORITY_HIGH 0x0002 |
| 62 | |
| 63 | /* bit 4 represents META enable of encoded data buffer */ |
| 64 | #define BUFFER_META_ENABLE 0x0010 |
| 65 | |
| 66 | /* Enable Sample_Rate/Channel_Mode notification event from Decoder */ |
| 67 | #define SR_CM_NOTIFY_ENABLE 0x0004 |
| 68 | |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 69 | #define SYNC_IO_MODE 0x0001 |
Harmandeep Singh | eaf59b4 | 2012-06-05 21:46:02 -0700 | [diff] [blame] | 70 | #define ASYNC_IO_MODE 0x0002 |
Phani Kumar Uppalapati | f3c5fac | 2012-10-13 15:27:23 -0700 | [diff] [blame] | 71 | #define COMPRESSED_IO 0x0040 |
Harmandeep Singh | eaf59b4 | 2012-06-05 21:46:02 -0700 | [diff] [blame] | 72 | #define NT_MODE 0x0400 |
| 73 | |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 74 | #define NO_TIMESTAMP 0xFF00 |
| 75 | #define SET_TIMESTAMP 0x0000 |
| 76 | |
| 77 | #define SOFT_PAUSE_ENABLE 1 |
| 78 | #define SOFT_PAUSE_DISABLE 0 |
| 79 | |
Ben Romberger | 971765c | 2013-07-23 17:27:18 -0700 | [diff] [blame] | 80 | #define SESSION_MAX 0x08 |
| 81 | #define ASM_CONTROL_SESSION 0x0F |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 82 | |
Krishnankutty Kolathappilly | 05c7bd9 | 2013-04-27 23:34:53 -0700 | [diff] [blame] | 83 | /* payload structure bytes */ |
| 84 | #define READDONE_IDX_STATUS 0 |
| 85 | #define READDONE_IDX_BUFADD_LSW 1 |
| 86 | #define READDONE_IDX_BUFADD_MSW 2 |
| 87 | #define READDONE_IDX_MEMMAP_HDL 3 |
| 88 | #define READDONE_IDX_SIZE 4 |
| 89 | #define READDONE_IDX_OFFSET 5 |
| 90 | #define READDONE_IDX_LSW_TS 6 |
| 91 | #define READDONE_IDX_MSW_TS 7 |
| 92 | #define READDONE_IDX_FLAGS 8 |
| 93 | #define READDONE_IDX_NUMFRAMES 9 |
| 94 | #define READDONE_IDX_SEQ_ID 10 |
| 95 | |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 96 | #define SOFT_PAUSE_PERIOD 30 /* ramp up/down for 30ms */ |
Santosh Mardi | b8d48f5 | 2013-07-19 05:33:28 +0530 | [diff] [blame] | 97 | #define SOFT_PAUSE_STEP 0 /* Step value 0ms or 0us */ |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 98 | enum { |
| 99 | SOFT_PAUSE_CURVE_LINEAR = 0, |
| 100 | SOFT_PAUSE_CURVE_EXP, |
| 101 | SOFT_PAUSE_CURVE_LOG, |
| 102 | }; |
| 103 | |
| 104 | #define SOFT_VOLUME_PERIOD 30 /* ramp up/down for 30ms */ |
Santosh Mardi | b8d48f5 | 2013-07-19 05:33:28 +0530 | [diff] [blame] | 105 | #define SOFT_VOLUME_STEP 0 /* Step value 0ms or 0us */ |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 106 | enum { |
| 107 | SOFT_VOLUME_CURVE_LINEAR = 0, |
| 108 | SOFT_VOLUME_CURVE_EXP, |
| 109 | SOFT_VOLUME_CURVE_LOG, |
| 110 | }; |
| 111 | |
| 112 | typedef void (*app_cb)(uint32_t opcode, uint32_t token, |
| 113 | uint32_t *payload, void *priv); |
| 114 | |
| 115 | struct audio_buffer { |
| 116 | dma_addr_t phys; |
| 117 | void *data; |
| 118 | uint32_t used; |
| 119 | uint32_t size;/* size of buffer */ |
| 120 | uint32_t actual_size; /* actual number of bytes read by DSP */ |
| 121 | struct ion_handle *handle; |
| 122 | struct ion_client *client; |
| 123 | }; |
| 124 | |
| 125 | struct audio_aio_write_param { |
| 126 | unsigned long paddr; |
| 127 | uint32_t len; |
| 128 | uint32_t uid; |
| 129 | uint32_t lsw_ts; |
| 130 | uint32_t msw_ts; |
| 131 | uint32_t flags; |
| 132 | }; |
| 133 | |
| 134 | struct audio_aio_read_param { |
| 135 | unsigned long paddr; |
| 136 | uint32_t len; |
| 137 | uint32_t uid; |
| 138 | }; |
| 139 | |
| 140 | struct audio_port_data { |
| 141 | struct audio_buffer *buf; |
| 142 | uint32_t max_buf_cnt; |
| 143 | uint32_t dsp_buf; |
| 144 | uint32_t cpu_buf; |
| 145 | struct list_head mem_map_handle; |
| 146 | uint32_t tmp_hdl; |
| 147 | /* read or write locks */ |
| 148 | struct mutex lock; |
| 149 | spinlock_t dsp_lock; |
| 150 | }; |
| 151 | |
| 152 | struct audio_client { |
| 153 | int session; |
| 154 | app_cb cb; |
| 155 | atomic_t cmd_state; |
| 156 | /* Relative or absolute TS */ |
Phani Kumar Uppalapati | c268df7 | 2013-02-19 19:06:41 -0800 | [diff] [blame] | 157 | atomic_t time_flag; |
Phani Kumar Uppalapati | 70a5d13 | 2012-12-05 11:35:13 -0800 | [diff] [blame] | 158 | atomic_t nowait_cmd_cnt; |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 159 | void *priv; |
| 160 | uint32_t io_mode; |
| 161 | uint64_t time_stamp; |
| 162 | struct apr_svc *apr; |
| 163 | struct apr_svc *mmap_apr; |
| 164 | struct mutex cmd_lock; |
| 165 | /* idx:1 out port, 0: in port*/ |
| 166 | struct audio_port_data port[2]; |
| 167 | wait_queue_head_t cmd_wait; |
Phani Kumar Uppalapati | c268df7 | 2013-02-19 19:06:41 -0800 | [diff] [blame] | 168 | wait_queue_head_t time_wait; |
Phani Kumar Uppalapati | 85b7c9b | 2013-02-19 09:59:47 -0800 | [diff] [blame] | 169 | bool perf_mode; |
Fred Oh | c274a7a | 2013-03-25 13:59:17 -0700 | [diff] [blame] | 170 | /* audio cache operations fptr*/ |
| 171 | int (*fptr_cache_ops)(struct audio_buffer *abuff, int cache_op); |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 172 | }; |
| 173 | |
| 174 | void q6asm_audio_client_free(struct audio_client *ac); |
| 175 | |
| 176 | struct audio_client *q6asm_audio_client_alloc(app_cb cb, void *priv); |
| 177 | |
| 178 | struct audio_client *q6asm_get_audio_client(int session_id); |
| 179 | |
| 180 | int q6asm_audio_client_buf_alloc(unsigned int dir/* 1:Out,0:In */, |
| 181 | struct audio_client *ac, |
| 182 | unsigned int bufsz, |
| 183 | unsigned int bufcnt); |
| 184 | int q6asm_audio_client_buf_alloc_contiguous(unsigned int dir |
| 185 | /* 1:Out,0:In */, |
| 186 | struct audio_client *ac, |
| 187 | unsigned int bufsz, |
| 188 | unsigned int bufcnt); |
| 189 | |
| 190 | int q6asm_audio_client_buf_free_contiguous(unsigned int dir, |
| 191 | struct audio_client *ac); |
| 192 | |
| 193 | int q6asm_open_read(struct audio_client *ac, uint32_t format |
| 194 | /*, uint16_t bits_per_sample*/); |
| 195 | |
Damir Didjusto | 1c69f1b | 2013-06-17 20:55:53 -0700 | [diff] [blame] | 196 | int q6asm_open_read_v2(struct audio_client *ac, uint32_t format, |
| 197 | uint16_t bits_per_sample); |
| 198 | |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 199 | int q6asm_open_write(struct audio_client *ac, uint32_t format |
| 200 | /*, uint16_t bits_per_sample*/); |
| 201 | |
Bhalchandra Gajare | 5b40c53 | 2013-02-19 13:36:47 -0800 | [diff] [blame] | 202 | int q6asm_open_write_v2(struct audio_client *ac, uint32_t format, |
| 203 | uint16_t bits_per_sample); |
| 204 | |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 205 | int q6asm_open_read_write(struct audio_client *ac, |
| 206 | uint32_t rd_format, |
| 207 | uint32_t wr_format); |
| 208 | |
| 209 | int q6asm_write(struct audio_client *ac, uint32_t len, uint32_t msw_ts, |
| 210 | uint32_t lsw_ts, uint32_t flags); |
| 211 | int q6asm_write_nolock(struct audio_client *ac, uint32_t len, uint32_t msw_ts, |
| 212 | uint32_t lsw_ts, uint32_t flags); |
| 213 | |
| 214 | int q6asm_async_write(struct audio_client *ac, |
| 215 | struct audio_aio_write_param *param); |
| 216 | |
| 217 | int q6asm_async_read(struct audio_client *ac, |
| 218 | struct audio_aio_read_param *param); |
| 219 | |
| 220 | int q6asm_read(struct audio_client *ac); |
| 221 | int q6asm_read_nolock(struct audio_client *ac); |
| 222 | |
| 223 | int q6asm_memory_map(struct audio_client *ac, uint32_t buf_add, |
| 224 | int dir, uint32_t bufsz, uint32_t bufcnt); |
| 225 | |
| 226 | int q6asm_memory_unmap(struct audio_client *ac, uint32_t buf_add, |
| 227 | int dir); |
| 228 | |
Ben Romberger | 971765c | 2013-07-23 17:27:18 -0700 | [diff] [blame] | 229 | int q6asm_unmap_cal_blocks(void); |
| 230 | |
Ben Romberger | 092d70c | 2013-08-07 15:33:47 -0700 | [diff] [blame] | 231 | int q6asm_map_rtac_block(struct rtac_cal_block_data *cal_block); |
| 232 | |
| 233 | int q6asm_unmap_rtac_block(uint32_t *mem_map_handle); |
| 234 | |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 235 | int q6asm_run(struct audio_client *ac, uint32_t flags, |
| 236 | uint32_t msw_ts, uint32_t lsw_ts); |
| 237 | |
| 238 | int q6asm_run_nowait(struct audio_client *ac, uint32_t flags, |
| 239 | uint32_t msw_ts, uint32_t lsw_ts); |
| 240 | |
| 241 | int q6asm_reg_tx_overflow(struct audio_client *ac, uint16_t enable); |
| 242 | |
| 243 | int q6asm_cmd(struct audio_client *ac, int cmd); |
| 244 | |
| 245 | int q6asm_cmd_nowait(struct audio_client *ac, int cmd); |
| 246 | |
| 247 | void *q6asm_is_cpu_buf_avail(int dir, struct audio_client *ac, |
| 248 | uint32_t *size, uint32_t *idx); |
| 249 | |
| 250 | void *q6asm_is_cpu_buf_avail_nolock(int dir, struct audio_client *ac, |
| 251 | uint32_t *size, uint32_t *idx); |
| 252 | |
| 253 | int q6asm_is_dsp_buf_avail(int dir, struct audio_client *ac); |
| 254 | |
| 255 | /* File format specific configurations to be added below */ |
| 256 | |
| 257 | int q6asm_enc_cfg_blk_aac(struct audio_client *ac, |
| 258 | uint32_t frames_per_buf, |
| 259 | uint32_t sample_rate, uint32_t channels, |
| 260 | uint32_t bit_rate, |
| 261 | uint32_t mode, uint32_t format); |
| 262 | |
| 263 | int q6asm_enc_cfg_blk_pcm(struct audio_client *ac, |
| 264 | uint32_t rate, uint32_t channels); |
| 265 | |
Damir Didjusto | 1c69f1b | 2013-06-17 20:55:53 -0700 | [diff] [blame] | 266 | int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac, |
| 267 | uint32_t rate, uint32_t channels, |
| 268 | uint16_t bits_per_sample); |
| 269 | |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 270 | int q6asm_set_encdec_chan_map(struct audio_client *ac, |
| 271 | uint32_t num_channels); |
| 272 | |
Harmandeep Singh | eaf59b4 | 2012-06-05 21:46:02 -0700 | [diff] [blame] | 273 | int q6asm_enc_cfg_blk_pcm_native(struct audio_client *ac, |
| 274 | uint32_t rate, uint32_t channels); |
| 275 | |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 276 | int q6asm_enable_sbrps(struct audio_client *ac, |
| 277 | uint32_t sbr_ps); |
| 278 | |
| 279 | int q6asm_cfg_dual_mono_aac(struct audio_client *ac, |
| 280 | uint16_t sce_left, uint16_t sce_right); |
| 281 | |
Amal Paul | 2ca061b | 2013-02-25 14:57:33 -0800 | [diff] [blame] | 282 | int q6asm_cfg_aac_sel_mix_coef(struct audio_client *ac, uint32_t mix_coeff); |
| 283 | |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 284 | int q6asm_enc_cfg_blk_qcelp(struct audio_client *ac, uint32_t frames_per_buf, |
| 285 | uint16_t min_rate, uint16_t max_rate, |
| 286 | uint16_t reduced_rate_level, uint16_t rate_modulation_cmd); |
| 287 | |
| 288 | int q6asm_enc_cfg_blk_evrc(struct audio_client *ac, uint32_t frames_per_buf, |
| 289 | uint16_t min_rate, uint16_t max_rate, |
| 290 | uint16_t rate_modulation_cmd); |
| 291 | |
| 292 | int q6asm_enc_cfg_blk_amrnb(struct audio_client *ac, uint32_t frames_per_buf, |
| 293 | uint16_t band_mode, uint16_t dtx_enable); |
| 294 | |
| 295 | int q6asm_enc_cfg_blk_amrwb(struct audio_client *ac, uint32_t frames_per_buf, |
| 296 | uint16_t band_mode, uint16_t dtx_enable); |
| 297 | |
| 298 | int q6asm_media_format_block_pcm(struct audio_client *ac, |
| 299 | uint32_t rate, uint32_t channels); |
| 300 | |
Bhalchandra Gajare | 5b40c53 | 2013-02-19 13:36:47 -0800 | [diff] [blame] | 301 | int q6asm_media_format_block_pcm_format_support(struct audio_client *ac, |
| 302 | uint32_t rate, uint32_t channels, |
| 303 | uint16_t bits_per_sample); |
| 304 | |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 305 | int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac, |
Subhash Chandra Bose Naripeddy | e656216 | 2012-12-12 15:11:38 -0800 | [diff] [blame] | 306 | uint32_t rate, uint32_t channels, |
| 307 | bool use_default_chmap, char *channel_map); |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 308 | |
Bhalchandra Gajare | 5b40c53 | 2013-02-19 13:36:47 -0800 | [diff] [blame] | 309 | int q6asm_media_format_block_multi_ch_pcm_v2( |
| 310 | struct audio_client *ac, |
| 311 | uint32_t rate, uint32_t channels, |
| 312 | bool use_default_chmap, char *channel_map, |
| 313 | uint16_t bits_per_sample); |
| 314 | |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 315 | int q6asm_media_format_block_aac(struct audio_client *ac, |
| 316 | struct asm_aac_cfg *cfg); |
| 317 | |
| 318 | int q6asm_media_format_block_multi_aac(struct audio_client *ac, |
| 319 | struct asm_aac_cfg *cfg); |
| 320 | |
| 321 | int q6asm_media_format_block_wma(struct audio_client *ac, |
| 322 | void *cfg); |
| 323 | |
| 324 | int q6asm_media_format_block_wmapro(struct audio_client *ac, |
| 325 | void *cfg); |
| 326 | |
Phani Kumar Uppalapati | 1e0324c | 2013-03-21 14:13:23 -0700 | [diff] [blame] | 327 | int q6asm_media_format_block_amrwbplus(struct audio_client *ac, |
| 328 | struct asm_amrwbplus_cfg *cfg); |
Subhash Chandra Bose Naripeddy | af3e03d | 2013-02-08 11:35:55 -0800 | [diff] [blame] | 329 | |
| 330 | int q6asm_ds1_set_endp_params(struct audio_client *ac, |
| 331 | int param_id, int param_value); |
| 332 | |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 333 | /* PP specific */ |
| 334 | int q6asm_equalizer(struct audio_client *ac, void *eq); |
| 335 | |
| 336 | /* Send Volume Command */ |
| 337 | int q6asm_set_volume(struct audio_client *ac, int volume); |
| 338 | |
| 339 | /* Set SoftPause Params */ |
| 340 | int q6asm_set_softpause(struct audio_client *ac, |
| 341 | struct asm_softpause_params *param); |
| 342 | |
| 343 | /* Set Softvolume Params */ |
| 344 | int q6asm_set_softvolume(struct audio_client *ac, |
| 345 | struct asm_softvolume_params *param); |
| 346 | |
| 347 | /* Send left-right channel gain */ |
| 348 | int q6asm_set_lrgain(struct audio_client *ac, int left_gain, int right_gain); |
| 349 | |
| 350 | /* Enable Mute/unmute flag */ |
| 351 | int q6asm_set_mute(struct audio_client *ac, int muteflag); |
| 352 | |
Patrick Lai | fc8f224 | 2013-01-06 00:52:34 -0800 | [diff] [blame] | 353 | int q6asm_get_session_time(struct audio_client *ac, uint64_t *tstamp); |
Bharath Ramachandramurthy | 2e3168f | 2012-05-03 16:29:09 -0700 | [diff] [blame] | 354 | |
| 355 | /* Client can set the IO mode to either AIO/SIO mode */ |
| 356 | int q6asm_set_io_mode(struct audio_client *ac, uint32_t mode); |
| 357 | |
| 358 | /* Get Service ID for APR communication */ |
| 359 | int q6asm_get_apr_service_id(int session_id); |
| 360 | |
| 361 | /* Common format block without any payload |
| 362 | */ |
| 363 | int q6asm_media_format_block(struct audio_client *ac, uint32_t format); |
| 364 | |
| 365 | #endif /* __Q6_ASM_H__ */ |