Microsoft Speech SDK
SAPI 5.1
SPAUDIOSTATUS
typedef struct SPAUDIOSTATUS
{
long cbFreeBuffSpace;
ULONG cbNonBlockingIO;
SPAUDIOSTATE State;
ULONGLONG CurSeekPos;
ULONGLONG CurDevicePos;
DWORD dwReserved1;
DWORD dwReserved2;
} SPAUDIOSTATUS;
Members
- cbFreeBuffSpace
- Size, in bytes, of free space for reading and/or writing in the audio object.
- cbNonBlockingIO
- The amount of data which can be read from or written to a device without blocking.
- State
- The state (of type SPAUDIOSTATE) of the audio device.
- CurSeekPos
- The current seek position, in bytes, within the audio stream. This is the position in the stream where the next read or write will be performed.
- CurDevicePos
- The current read position, in bytes, of the device. This is the position in the stream where the device is currently reading or writing. For readable streams, this value will always be greater than or equal to CurSeekPos. For writable streams, this value will always be less than or equal to CurSeekPos.
- dwReserved1
- Reserved for future expansion.
- dwReserved2
- Reserved for future expansion.