Searched refs:length_us (Results 1 – 2 of 2) sorted by relevance
115 static void fill_audio_buf_sin(int16_t *buf, int length_us, int frequency_hz, int sample_rate_hz) in fill_audio_buf_sin() argument118 const unsigned int num_samples = (length_us * sample_rate_hz) / USEC_PER_SEC; in fill_audio_buf_sin()
355 static void fill_lc3_tx_buf_sin(int16_t *buf, int length_us, int frequency_hz, int sample_rate_hz) in fill_lc3_tx_buf_sin() argument358 const size_t num_samples = (length_us * sample_rate_hz) / USEC_PER_SEC; in fill_lc3_tx_buf_sin()