Compartir a través de


SPAUDIOBUFFERINFO (Windows CE 5.0)

Send Feedback

This structure contains audio stream buffer information.

typedef struct SPAUDIOBUFFERINFO{  ULONG ulMsMinNotification;  ULONG ulMsBufferSize;  ULONG ulMsEventBias;} SPAUDIOBUFFERINFO;

Members

  • ulMsMinNotification
    Minimum preferred time, in milliseconds, allowed between the actual time an event notification occurs and the ideal time. The smaller this number, the more CPU overhead is required, but the event notifications will be more timely. At most, this value must be one quarter the size of the ulMsBuffersize. It cannot be zero.
  • ulMsBufferSize
    Size of the buffer for the audio object, in milliseconds. For readable audio objects, this is simply a preferred size, as readable objects will automatically expand their buffers to accommodate data. For writable audio objects, the size is the amount of audio data that will be buffered before a call to write will block. The value of this member must be greater than or equal to 200 milliseconds.
  • ulMsEventBias
    Amount of time, in milliseconds, that events will be completed before they actually occur. For example, setting a value of 100 for the event bias causes all events to be notified 100 milliseconds prior to the playing of the audio data. This can be useful for applications needing time to animate mouths for synthetic speech. The value of this member can be no larger than the value of ulMsBufferSize.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.

See Also

SAPI Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.