|
StreamQueuePushData method |
![]() ![]()
|
Remarks
Pushes uncompressed PCM data into a stream previously created through the StreamQueueCreate method. When feeding PCM data into a stream in playback, this method should be called at a rate sufficient to sustain playback without glitches: if for any reason the control shouldn't receive enough PCM data, it would be forced to stall playback and to fire a StreamQueueStalled event; when enough PCM data should be available again, the SoundPlaying event would be fired automatically.
Overload list
Pushes uncompressed PCM data taken from a memory buffer
[Visual Basic] Overloads Public Function StreamQueuePushData (Int16, Byte(), Int32) As enumErrorCodes
[C#] public enumErrorCodes StreamQueuePushData (Int16, byte[], Int32);
[C++] public: enumErrorCodes StreamQueuePushData (Int16, unisigned char __gc[], Int32);
Pushes uncompressed PCM data taken from a memory stream, allowing integration with Microsoft's Speech API
[Visual Basic] Overloads Public Function StreamQueuePushData (Int16, MemoryStream) As enumErrorCodes
[C#] public enumErrorCodes StreamQueuePushData (Int16, MemoryStream);
[C++] public: enumErrorCodes StreamQueuePushData (Int16, MemoryStream);