Copyright © 2001-2018 MultiMedia Soft

BufferLength property

Previous pageReturn to chapter overviewNext page


integer for Visual Basic

short for Visual C++




The size, expressed in milliseconds, of the DirectSound buffer used for song playback.


The supported range for this property, whose default value is 500, is between 100 and 5000: higher or lower values will be automatically cut to the nearest supported value.


Decreasing the size of the DirectSound buffer will result in a smaller latency time: for details about latency, take a look to the How to deal with latency section.