Home
last modified time | relevance | path

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

/btstack/test/hfp/
H A Dsco_demo_util.c186 int16_t sample_buffer[MAX_NUM_MSBC_SAMPLES]; in sco_demo_msbc_fill_sine_audio_frame() local
187 sco_demo_sine_wave_int16_at_16000_hz_host_endian(num_samples, sample_buffer); in sco_demo_msbc_fill_sine_audio_frame()
188 hfp_msbc_encode_audio_frame(sample_buffer); in sco_demo_msbc_fill_sine_audio_frame()
539 int16_t sample_buffer[MAX_NUM_MSBC_SAMPLES]; in sco_demo_send() local
541 …btstack_ring_buffer_read(&audio_input_ring_buffer, (uint8_t*) sample_buffer, num_samples * BYTES_P… in sco_demo_send()
542 hfp_msbc_encode_audio_frame(sample_buffer); in sco_demo_send()
/btstack/example/
H A Dsco_demo_util.c413 int16_t sample_buffer[SAMPLES_PER_FRAME_MAX]; in sco_demo_codec_fill_payload() local
415 …btstack_ring_buffer_read(&audio_input_ring_buffer, (uint8_t*) sample_buffer, num_samples * BYTES_P… in sco_demo_codec_fill_payload()
416 hfp_codec_encode_audio_frame(&hfp_codec, sample_buffer); in sco_demo_codec_fill_payload()