why alsa –period-size and –buffer-size must be set when sample rate is greater than 16k [closed]

  alsa, audio, c++

i use three mics to link a SOC codec(i2s_8ch),i use cammand:
"arecord -D hw:0,0 -c 4 -r 44100 -f S16_LE test.wav"
two mics work well.
when i use cammand:
"arecord -D hw:0,0 -c 4 -r 44100 -f S16_LE –period-size=1024 –buffer-size=4096 test.wav"
all the mics work.
when i set sample rate 16k except period-size and buffer-size, all mics work as well

Source: Windows Questions C++

LEAVE A COMMENT