Gets the embedded audio data from the specified extension list.
public Leadtools.RasterNativeBuffer GetAudioData(
int stream
)
Public Function GetAudioData( _
ByVal stream As Integer _
) As Leadtools.RasterNativeBuffer
public Leadtools.RasterNativeBuffer GetAudioData(
int stream
)
- (nullable NSData *)getAudioData:(NSInteger)stream error:(NSError **)error
public RasterNativeBuffer getAudioData(int stream)
function Leadtools.Codecs.CodecsExtensionList.GetAudioData(
stream
)
public:
Leadtools.RasterNativeBuffer GetAudioData(
int stream
)
stream
Index of the audio stream to retrieve. The extensions may have more than one audio stream. This index is 0-based. Therefore, the first stream is stream 0, the second stream is stream 1, etc. To retrieve all the audio streams, retrieve the streams one by one until an empty RasterNativeBuffer is returned (empty RasterNativeBuffer will have a RasterNativeBuffer.Data set to IntPtr.Zero and RasterNativeBuffer.Length set to 0.
A RasterNativeBuffer object containing the audio data.
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.
For an example, refer to RasterCodecs.ReadExtensions.
Products |
Support |
Feedback: GetAudioData Method - Leadtools.Codecs |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.