Copyright © 2005-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 class section.

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

 

 

Syntax

 

[Visual Basic]

Public Function AudioTrackGetMemoryPtr (

nPlayerIndex as Int16

) as Int32


 

[C#]

public Int32 AudioTrackGetMemoryPtr (

Int16 nPlayerIndex

);


 

[C++]

public: Int32 AudioTrackGetMemoryPtr (

Int16 nPlayerIndex

);


 

Parameter

Description

 

 

nPlayerIndex

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

 

 

 

Return value

 

Value

Meaning

 

 

Value >= 0

Address of the memory buffer

Negative value

An error occurred (see the LastError property for further error details)