The 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.
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.
Syntax
HRESULT GetAudioData(
IAudioData **ppAudio );
Parameters
- ppAudio
- [out] Address of a pointer to the IAudioData object.
Return Value
Returns S_OK if successful or E_POINTER if the parameter is NULL.
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.