Microsoft DirectX 8.1 (Visual Basic) |
The DMUS_AUDIOPARAMS type describes required resources for the default synthesizer and buffers of a performance. Passed to the DirectMusicPerformance8.InitAudio method to request desired features and to receive information about what requests were granted.
Syntax
Type DMUS_AUDIOPARAMS
clsidDefaultSynth As String
fInitNow As Boolean
lFeatures As Long
lSampleRate As Long
lValidData As Long
lVoices As Long
End Type
Members
clsidDefaultSynth
Class identifier of the default synthesizer. This is the synthesizer used by standard audiopaths and audiopaths created from configurations that request the default synthesizer. If this value is not supplied, the Microsoft software synthesizer is the default synthesizer.
fInitNow
Boolean value that specifies whether the sink and synthesizer are created immediately. If so, results are returned in this structure.
lFeatures
Flags that specify capabilities of the path. Can be 0, or one or more constants of the CONST_DMUS_AUDIO enumeration.
lSampleRate
Sample rate of sink and synthesizer, in the range from 11,025 to 96,000 kHz. The default value is 22,050.
lValidData
Flags that specify which members of this structure contain valid data. If fInitNow is True when the structure is passed, this member receives flags that specify what members received data. See CONST_DMUS_AUDIOPARAMS.
lVoices
Number of voices. The default value is 64.
See Also