GetSampleRate method |
|
Remarks
Gets the sample rate applied to DirectSound buffer during playback. The sample rate can be modified through the SetSampleRate method.
Syntax
[Visual Basic] control.GetSampleRate ( nPlayer as Integer ) as Long |
[C++] long control.GetSampleRate ( short nPlayer ); |
Parameter |
Description |
|
|
nPlayer |
Number representing the zero-based index of the involved player |
Return value
The sample rate rate expressed in samples per second.