ISpAudio::GetBufferNotifySize (Windows Embedded CE 6.0)
1/6/2010
This method gets the audio stream buffer size information. This information is used to determine when the event returned by ISpAudio::EventHandle is set or reset.
For read streams, the event is set if the audio buffered is greater than or equal to the value set in pcbSize, otherwise the event information is reset. For write streams, the event is set if the audio buffered is less than the value set in pcbSize. Otherwise, the event information is reset.
Syntax
HRESULT GetBufferNotifySize(
ULONG* pcbSize
);
Parameters
- pcbSize
[out] Pointer to size information, in bytes, that is associated with the audio stream buffer.
Return Value
The following table shows the possible return values.
Value | Description |
---|---|
S_OK |
Function completed successfully. |
E_POINTER |
Invalid pointer. |
Requirements
Header | sapi.h, sapi.idl |
Library | sapilib.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |