Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/samples/bluetooth/unicast_audio_client/src/
Dmain.c116 static void fill_audio_buf_sin(int16_t *buf, int length_us, int frequency_hz, int sample_rate_hz) in fill_audio_buf_sin() argument
118 const int sine_period_samples = sample_rate_hz / frequency_hz; in fill_audio_buf_sin()
119 const unsigned int num_samples = (length_us * sample_rate_hz) / USEC_PER_SEC; in fill_audio_buf_sin()
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/shell/
Dbap.c203 static void fill_audio_buf_sin(int16_t *buf, int length_us, int frequency_hz, int sample_rate_hz) in fill_audio_buf_sin() argument
205 const uint32_t sine_period_samples = sample_rate_hz / frequency_hz; in fill_audio_buf_sin()
206 const size_t num_samples = (length_us * sample_rate_hz) / USEC_PER_SEC; in fill_audio_buf_sin()