IAudioStreamSample interface (austream.h)
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
IAudioStreamSample
interface retrieves information from the underlying IAudioData data objects.
For sample code that implements the audio streaming interfaces, see Multimedia Streaming Sample Code.
Implement this interface on audio stream sample objects when they need access to an IAudioData object's data.
Use this interface when your application needs to access an IAudioData object's data for its audio stream.
Inheritance
The IAudioStreamSample interface inherits from IStreamSample. IAudioStreamSample also has these types of members:
Methods
The IAudioStreamSample interface has these methods.
IAudioStreamSample::GetAudioData Note This interface is deprecated. New applications should not use it. Retrieves the address of a pointer to the IAudioData object associated with the sample. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | austream.h |