Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
GetOutputDeviceMinBufferLength method 
 
Remarks 
 
Retrieves the minimal DirectSound buffer length (expressed in milliseconds) supported by a certain output device (sound card). For details about latency, take a look to the How to deal with latency section. 
 
 
Syntax 
 
[Visual Basic] 
control.GetOutputDeviceMinBufferLength
nIndex as Integer 
) as Integer
 
[C++] 
short control.GetOutputDeviceMinBufferLength
short nIndex 
);
 
 
Parameter
Description
 
 
nIndex
Number representing the zero-based index of the output device whose minimal DirectSound buffer length must be retrieved
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
> 0
The current minimal DirectSound buffer length supported by the chosen output device.
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents