Mercurial > hg > dmlib
changeset 297:a991e4f0acfe
Make audio buffer smaller, for now.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 11 Oct 2012 16:42:02 +0300 |
parents | 6d62918739c6 |
children | 6f36a34626cb |
files | ppl.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ppl.c Thu Oct 11 16:41:33 2012 +0300 +++ b/ppl.c Thu Oct 11 16:42:02 2012 +0300 @@ -682,7 +682,7 @@ engine.afmt.freq = optOutFreq; engine.afmt.channels = optOutChannels; - engine.afmt.samples = optOutFreq * optOutChannels * 4; + engine.afmt.samples = optOutFreq / 16; engine.afmt.callback = audioCallback; engine.afmt.userdata = (void *) engine.dev;