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 )
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2