Adjusting buffer sizes

This forum is archived.
Please use the feisty forums for discussing Decibel.
User avatar
Site Admin
Posts: 2458
Joined: Fri Dec 23, 2005 7:45 am
Location: USA

Adjusting buffer sizes

Post 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.