Compartir a través de


ISpAudio::SetBufferNotifySize (Windows CE 5.0)

Send Feedback

This method sets 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 cbSize. Otherwise, the event information is reset.

For write streams, the event is set if the audio buffered is less than the value set in cbSize. Otherwise, the event information is reset.

HRESULT SetBufferNotifySize(ULONG cbSize);

Parameters

  • cbSize
    [in] The size, in bytes, of the information associated with the audio stream buffer.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
FAILED(hr) Appropriate error message.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.

See Also

ISpAudio | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.