CaptureBuffer.Start Method |
Language: |
Begins capturing data into the buffer.
Visual Basic Public Sub Start( _
ByVal looping As Boolean _
)C# public void Start(
bool looping
);C++ public:
void Start(
bool looping
);JScript public function Start(
looping : boolean
);
looping System.Boolean
Set to true if, after the end of the buffer is reached, capture restarts at the beginning and continues until explicitly stopped; otherwise, false.
If the buffer is already capturing, the method has no effect.
If the buffer is already capturing, a call to this method using a different value in looping might not change the value returned by Looping.
If the application is multithreaded, the thread that starts the buffer must continue to exist as long as the buffer is capturing. Buffers created on Windows Driver Model (WDM) drivers stop capturing when the thread is terminated.
Exceptions
ArgumentException An invalid parameter was passed to the called method. OutOfMemoryException Microsoft DirectSound could not allocate sufficient memory to complete the call. NoDriverException No sound driver is available for use, or the given globally unique identifier (GUID) is not a valid DirectSound device identifier (ID).
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