The IAudioStreamSample interface retrieves information from the underlying IAudioData data objects.
For sample code which implements the audio streaming interfaces see Multimedia Streaming Sample Code.
When to Implement
Implement this interface on audio stream sample objects that need access to an IAudioData object's data .
When to Use
Use this interface if your application needs to access an IAudioData object's data for its audio stream.
Methods in Vtable Order
IUnknown methods | Description |
QueryInterface | Retrieves pointers to supported interfaces. |
AddRef | Increments the reference count. |
Release | Decrements the reference count. |
IAudioStreamSample methods | Description |
GetAudioData | Retrieves the address of a pointer to the IAudioData object associated with the sample. |
Retrieves the address of a pointer to the IAudioData object associated with the sample.
HRESULT GetAudioData(
IAudioData **ppAudio );
Returns S_OK if successful or E_POINTER if the parameter is null.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.