MFAudioChannelGetBytes Method (IMFFrame)
channel index
creates new channel (1) or not (0)
audio data size
poiter to audio data
Gets audio channel's data pointer.
 Warning: For 20, 24, 32 integer this method returns 32 bit float data. The changes are applied only after a call of MFAudioChannelsUpdate() method
Syntax
Sub MFAudioChannelGetBytes( _
   ByVal _nChannel As Integer, _
   ByVal _bCreateNewChannels As Integer, _
   ByRef _pcbSize As Integer, _
   ByRef _ppbAudio As Long _
) 
void MFAudioChannelGetBytes( 
   int _nChannel,
   int _bCreateNewChannels,
   out int _pcbSize,
   out long _ppbAudio
)
procedure MFAudioChannelGetBytes( 
    _nChannel: Integer;
    _bCreateNewChannels: Integer;
   Out  _pcbSize: Integer;
   Out  _ppbAudio: Int64
); 
void MFAudioChannelGetBytes( 
   int _nChannel,
   int _bCreateNewChannels,
   [PARAMFLAG::Out] int _pcbSize,
   [PARAMFLAG::Out] long _ppbAudio
) 

Parameters

_nChannel
channel index
_bCreateNewChannels
creates new channel (1) or not (0)
_pcbSize
audio data size
_ppbAudio
poiter to audio data
See Also

Reference

IMFFrame Interface
IMFFrame Members