PyIDirectSoundBuffer.SetFormat
SetFormat(format)
Sets the format of the primary sound buffer for the application. Whenever this application has the input focus, DirectSound will set the primary buffer to the specified format.
Parameters
SetFormat(format)
Sets the format of the primary sound buffer for the application. Whenever this application has the input focus, DirectSound will set the primary buffer to the specified format.