Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
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 )
- (nullable NSData *)getAudioData:(NSInteger)stream error:(NSError **)error
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.