Copyright © 2005-2019 MultiMedia Soft

BufferLength property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property BufferLength As Int16


 

[C#]

public Int16 BufferLength {get; set;}


 

[C++]

public: __property Int16 get_BufferLength();

public: __property void set_BufferLength(Int16);


 

 

Remarks

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.