Mercurial > hg > ristipolku
changeset 110:3551b61b3c0b
Increase buffer size a bit.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 03 Mar 2011 23:26:12 +0200 |
parents | 84935674c1c9 |
children | 53d153de5beb |
files | game/SoundManager.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/game/SoundManager.java Thu Mar 03 22:30:05 2011 +0200 +++ b/game/SoundManager.java Thu Mar 03 23:26:12 2011 +0200 @@ -245,7 +245,7 @@ // use a short, 100ms (1/10th sec) buffer for filters that // change in real-time - int bufferSize = playbackFormat.getFrameSize() * Math.round(playbackFormat.getSampleRate() / 20); + int bufferSize = playbackFormat.getFrameSize() * Math.round(playbackFormat.getSampleRate() / 10); // create, open, and start the line SourceDataLine line;