Copyright © 2001-2019 MultiMedia Soft

VideoPlayer.AudioTrackGetMemoryPtr method

Previous pageReturn to chapter overviewNext page

Remarks

 

If the extraction of the audio track, previously started through the VideoPlayer.AudioTrackExtract method, has been set to store audio data in memory, this method will return the memory address (pointer) of the buffer containing sound data. The actual size in bytes of the memory buffer can be retrieved using the VideoPlayer.AudioTrackGetMemorySize method.

 

For further details about the use of the embedded video player see the VideoPlayer object section.

For details about video clips rendering refer to the How to play video files through DirectShow tutorial.

 

Syntax

 

[Visual Basic]

control.VideoPlayer.AudioTrackGetMemoryPtr (

nPlayer as Integer

) as Long


 

[C++]

long control.VideoPlayer.AudioTrackGetMemoryPtr (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that will use the video player.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

> 0

Address of the memory buffer