Page 1 of 1

Adjusting buffer sizes

Posted: Fri Jul 08, 2011 8:47 pm
by sbooth
Decibel contains hidden preferences to adjust the buffer sizes it uses.

There are two options that affect buffering: RingBufferCapacity and RingBufferWriteChunkSize.
  • RingBufferCapacity determines how many audio sample frames will be stored in the player's internal buffer
  • RingBufferWriteChunkSize determines the minimum read size from files.
The default value for RingBufferCapacity is 16384 and the default value for RingBufferWriteChunkSize is 2048.

You can set them on the command line in Terminal with the following commands:

Code: Select all

$ defaults write org.sbooth.Decibel RingBufferCapacity -int 32768
$ defaults write org.sbooth.Decibel RingBufferWriteChunkSize -int 4096
to double the values, for example.