BufferGet Method (IMFAudioBuffer)
buffer line to read the data
amount of audio samples in the buffer
pointer to audio data
specifies planar audio format
channels list
Get audio data from buffer.
For planar format specify _cbAudioPlane: -1 auto size (from number of samples), 0 - interleaved.
Note: if _ppAudio is NULL then allocate internal buffer, else copy to specified buffer.
Syntax
Sub BufferGet( _
   ByVal _bsLine As String, _
   ByRef _plSamples As Integer, _
   ByRef _ppbAudio As Long, _
   ByVal _cbAudioPlane As Integer, _
   ByVal _bsChannelsList As String _
) 
void BufferGet( 
   BSTR* _bsLine,
   [PARAMFLAG::Out] int _plSamples,
   [PARAMFLAG::Out] long _ppbAudio,
   int _cbAudioPlane,
   BSTR* _bsChannelsList
) 

Parameters

_bsLine
buffer line to read the data
_plSamples
amount of audio samples in the buffer
_ppbAudio
pointer to audio data
_cbAudioPlane
specifies planar audio format
_bsChannelsList
channels list
See Also

Reference

IMFAudioBuffer Interface
IMFAudioBuffer Members