commit bdd7bf5f02140267e379298788674967c8acb345
parent 9d62a95c0910f1907c107ece867828d66c15dcf2
Author: sin <sin@2f30.org>
Date: Mon, 6 Jun 2016 14:21:22 +0100
Set the application buffer size to 1 second worth of audio
appbufsz is specified in number of frames.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ncmixer.c b/ncmixer.c
@@ -127,6 +127,7 @@ audio_open(char *devname)
par.pchan = CHANS;
par.sig = 1;
par.le = SIO_LE_NATIVE;
+ par.appbufsz = RATE;
if (sio_setpar(sio_hdl, &par) == 0) {
printwarn("%s: failed to set params", devname);