Buffer.Play Method |
Language: |
Begin playing the sound buffer, starting at the play cursor.
Visual Basic Public Sub Play( _
ByVal priority As Integer, _
ByVal flags As BufferPlayFlags _
)C# public void Play(
int priority,
BufferPlayFlags flags
);C++ public:
void Play(
int priority,
BufferPlayFlags flags
);JScript public function Play(
priority : int,
flags : BufferPlayFlags
);
priority System.Int32
An integer that represents the Priority for the sound, used by the voice manager when assigning hardware mixing resources. The lowest priority is 0, and the highest priority is 0xFFFFFFFF. If the buffer was created with the BufferCaps.LocationDefer property set to false, this value must be 0.flags Microsoft.DirectX.DirectSound.BufferPlayFlags
One or more BufferPlayFlags enumerated values.
SecondaryBuffer
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center