Home
last modified time | relevance | path

Searched refs:bta_dm_pcm_cb (Results 1 – 1 of 1) sorted by relevance

/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_sco.c71 tBTA_DM_PCM_RESAMPLE_CB bta_dm_pcm_cb; variable
592 tBTA_DM_PCM_RESAMPLE_CB *p_cb = &bta_dm_pcm_cb; in BTA_DmPcmInitSamples()
676 APPL_TRACE_DEBUG("bta_pcm_resample : insamples %d", (in_bytes / bta_dm_pcm_cb.divisor)); in BTA_DmPcmResample()
678 if(bta_dm_pcm_cb.can_be_filtered) in BTA_DmPcmResample()
680 out_sample = (*bta_dm_pcm_cb.filter) (p_src, p_dst, (in_bytes / bta_dm_pcm_cb.divisor), in BTA_DmPcmResample()
681 bta_dm_pcm_cb.src_sps, (INT32 *) &bta_dm_pcm_cb.cur_pos, bta_dm_pcm_cb.overlap_area); in BTA_DmPcmResample()
685 out_sample = (*bta_dm_pcm_cb.nofilter) (p_src, p_dst, in BTA_DmPcmResample()
686 (in_bytes / bta_dm_pcm_cb.divisor), bta_dm_pcm_cb.src_sps); in BTA_DmPcmResample()
693 return (out_sample * bta_dm_pcm_cb.sample_size); in BTA_DmPcmResample()