nRF Connect SDK API 2.8.99
|
int audio_datapath_tone_play | ( | uint16_t | freq, |
uint16_t | dur_ms, | ||
float | amplitude ) |
Mixes a tone into the I2S TX stream.
freq | Tone frequency [Hz] |
dur_ms | Tone duration [ms]. 0 = forever |
amplitude | Tone amplitude [0, 1] |