Searched refs:pcm (Results 1 – 9 of 9) sorted by relevance
/system/media/alsa_utils/ |
D | alsa_device_proxy.c | 74 proxy->pcm = NULL; in proxy_prepare() 93 proxy->pcm = pcm_open(profile->card, profile->device, in proxy_open() 95 if (proxy->pcm == NULL) { in proxy_open() 99 if (!pcm_is_ready(proxy->pcm)) { in proxy_open() 100 ALOGE(" proxy_open() pcm_open() failed: %s", pcm_get_error(proxy->pcm)); in proxy_open() 104 pcm_close(proxy->pcm); in proxy_open() 105 proxy->pcm = NULL; in proxy_open() 114 ALOGV("proxy_close() [pcm:%p]", proxy->pcm); in proxy_close() 116 if (proxy->pcm != NULL) { in proxy_close() 117 pcm_close(proxy->pcm); in proxy_close() [all …]
|
D | alsa_device_profile.c | 208 struct pcm * pcm = pcm_open(profile->card, profile->device, in profile_test_sample_rate() local 211 if (pcm != NULL) { in profile_test_sample_rate() 212 works = pcm_is_ready(pcm); in profile_test_sample_rate() 213 pcm_close(pcm); in profile_test_sample_rate()
|
/system/bt/embdrv/sbc/decoder/srce/ |
D | synthesis-sbc.c | 236 PRIVATE void SynthWindow80_generated(OI_INT16 *pcm, SBC_BUFFER_T const * RESTRICT buffer, OI_UINT s… 237 PRIVATE void SynthWindow112_generated(OI_INT16 *pcm, SBC_BUFFER_T const * RESTRICT buffer, OI_UINT … 240 typedef void (*SYNTH_FRAME)(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UINT blkstart,… 258 PRIVATE void OI_SBC_SynthFrame_80(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UINT blk… in OI_SBC_SynthFrame_80() argument 281 SYNTH80(pcm + ch, context->common.filterBuffer[ch] + offset, pcmStrideShift); in OI_SBC_SynthFrame_80() 284 pcm += (8 << pcmStrideShift); in OI_SBC_SynthFrame_80() 289 PRIVATE void OI_SBC_SynthFrame_4SB(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UINT bl… in OI_SBC_SynthFrame_4SB() argument 311 SynthWindow40_int32_int32_symmetry_with_sum(pcm + ch, in OI_SBC_SynthFrame_4SB() 316 pcm += (4 << pcmStrideShift); in OI_SBC_SynthFrame_4SB() 323 PRIVATE void OI_SBC_SynthFrame_Enhanced(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UI… in OI_SBC_SynthFrame_Enhanced() argument [all …]
|
D | synthesis-8-generated.c | 42 PRIVATE void SynthWindow80_generated(OI_INT16 *pcm, SBC_BUFFER_T const * RESTRICT buffer, OI_UINT s… in SynthWindow80_generated() argument 55 /* 1 - stage 0 */ pcm_b /= 32768; CLIP_INT16(pcm_b); pcm[0<<strideShift] = (OI_INT16)pcm_b; in SynthWindow80_generated() 78 /* 1 - stage 1 */ pcm_a /= 32768; CLIP_INT16(pcm_a); pcm[1<<strideShift] = (OI_INT16)pcm_a; in SynthWindow80_generated() 79 /* 1 - stage 1 */ pcm_b /= 32768; CLIP_INT16(pcm_b); pcm[7<<strideShift] = (OI_INT16)pcm_b; in SynthWindow80_generated() 102 /* 1 - stage 2 */ pcm_a /= 32768; CLIP_INT16(pcm_a); pcm[2<<strideShift] = (OI_INT16)pcm_a; in SynthWindow80_generated() 103 /* 1 - stage 2 */ pcm_b /= 32768; CLIP_INT16(pcm_b); pcm[6<<strideShift] = (OI_INT16)pcm_b; in SynthWindow80_generated() 126 /* 1 - stage 3 */ pcm_a /= 32768; CLIP_INT16(pcm_a); pcm[3<<strideShift] = (OI_INT16)pcm_a; in SynthWindow80_generated() 127 /* 1 - stage 3 */ pcm_b /= 32768; CLIP_INT16(pcm_b); pcm[5<<strideShift] = (OI_INT16)pcm_b; in SynthWindow80_generated() 134 /* 1 - stage 4 */ pcm_a /= 32768; CLIP_INT16(pcm_a); pcm[4<<strideShift] = (OI_INT16)pcm_a; in SynthWindow80_generated()
|
/system/bt/btif/src/ |
D | btif_media_task.c | 216 tBTIF_AV_MEDIA_FEEDINGS_PCM_STATE pcm; member 804 media_feeding.cfg.pcm.sampling_freq = 44100; in btif_a2dp_setup_codec() 805 media_feeding.cfg.pcm.bit_per_sample = 16; in btif_a2dp_setup_codec() 806 media_feeding.cfg.pcm.num_channel = 2; in btif_a2dp_setup_codec() 1581 btif_media_cb.media_feeding_state.pcm.counter = 0; in btif_media_task_aa_tx_flush() 1582 btif_media_cb.media_feeding_state.pcm.aa_feed_residue = 0; in btif_media_task_aa_tx_flush() 1799 APPL_TRACE_DEBUG("sampling_freq:%d", p_feeding->feeding.cfg.pcm.sampling_freq); in btif_media_task_pcm2sbc_init() 1800 APPL_TRACE_DEBUG("num_channel:%d", p_feeding->feeding.cfg.pcm.num_channel); in btif_media_task_pcm2sbc_init() 1801 APPL_TRACE_DEBUG("bit_per_sample:%d", p_feeding->feeding.cfg.pcm.bit_per_sample); in btif_media_task_pcm2sbc_init() 1804 switch (p_feeding->feeding.cfg.pcm.sampling_freq) in btif_media_task_pcm2sbc_init() [all …]
|
/system/bt/embdrv/sbc/decoder/include/ |
D | oi_codec_sbc_private.h | 185 PRIVATE void SynthWindow40_int32_int32_symmetry_with_sum(OI_INT16 *pcm, SBC_BUFFER_T buffer[80], OI… 189 OI_INT16 *pcm, 196 OI_INT16 *pcm, 202 OI_INT16 *pcm, 213 PRIVATE void OI_SBC_SynthFrame(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UINT start_…
|
/system/media/alsa_utils/include/ |
D | alsa_device_proxy.h | 29 struct pcm * pcm; member
|
/system/bt/btif/include/ |
D | btif_av_api.h | 196 tBTIF_AV_MEDIA_FEED_CFG_PCM pcm; /* Raw PCM feeding format */ member
|
/system/bt/btif/co/ |
D | bta_av_co.c | 1600 if ((p_feeding->cfg.pcm.num_channel != 1) && in bta_av_co_audio_set_codec() 1601 (p_feeding->cfg.pcm.num_channel != 2)) in bta_av_co_audio_set_codec() 1606 if ((p_feeding->cfg.pcm.bit_per_sample != 8) && in bta_av_co_audio_set_codec() 1607 (p_feeding->cfg.pcm.bit_per_sample != 16)) in bta_av_co_audio_set_codec() 1612 switch (p_feeding->cfg.pcm.sampling_freq) in bta_av_co_audio_set_codec()
|