Searched refs:sample_buffer (Results 1 – 2 of 2) sorted by relevance
186 int16_t sample_buffer[MAX_NUM_MSBC_SAMPLES]; in sco_demo_msbc_fill_sine_audio_frame() local187 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() local541 …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()
413 int16_t sample_buffer[SAMPLES_PER_FRAME_MAX]; in sco_demo_codec_fill_payload() local415 …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()