BufferGet Method (MFAudioBufferClass)
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
Public Overridable Sub BufferGet( _
   ByVal _bsLine As String, _
   ByRef _plSamples As Integer, _
   ByRef _ppbAudio As Long, _
   ByVal _cbAudioPlane As Integer, _
   ByVal _bsChannelsList As String _
) 
public virtual void BufferGet( 
   string _bsLine,
   out int _plSamples,
   out long _ppbAudio,
   int _cbAudioPlane,
   string _bsChannelsList
)
public procedure BufferGet( 
    _bsLine: String;
   Out  _plSamples: Integer;
   Out  _ppbAudio: Int64;
    _cbAudioPlane: Integer;
    _bsChannelsList: String
); virtual; 
public: virtual 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

MFAudioBufferClass Class
MFAudioBufferClass Members