Leadtools.Codecs Namespace > CodecsExtensionList Class : GetAudioData Method |
public RasterNativeBuffer GetAudioData( int stream )
'Declaration Public Function GetAudioData( _ ByVal stream As Integer _ ) As RasterNativeBuffer
'Usage Dim instance As CodecsExtensionList Dim stream As Integer Dim value As RasterNativeBuffer value = instance.GetAudioData(stream)
public RasterNativeBuffer GetAudioData( int stream )
-(NSData*)getAudioData:(int)stream error:(NSError**)outError;
public RasterNativeBuffer getAudioData(int stream)
function Leadtools.Codecs.CodecsExtensionList.GetAudioData( stream )
public: RasterNativeBuffer GetAudioData( int stream )
The audio data is stored inside extensions in the WAVE format.
The audio data can be played directly from memory, or the data can be written to a disk file and played from the disk. When writing the audio data to a disk file, give the file a .WAV extension.
The audio data pointer returned is freed automatically when this CodecsExtensionList object is disposed. so do not try to free this memory.