Copyright © 2001-2016 MultiMedia Soft

AudioExtractFromVideoDone event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs at the end of the extraction of the audio track from a video file. The audio extraction is started through a previous call to the VideoPlayer.AudioTrackExtract 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]

AudioExtractFromVideoDone (

ByVal nPlayer as Integer,

ByVal bOutputSwitchedToFile as enumBoolean

ByVal nResult as enumErrorCodes

)


 

[C++]

void AudioExtractFromVideoDone (

short nPlayer,

short bOutputSwitchedToFile,

short nResult

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that fired the event

bOutputSwitchedToFile

Boolean flag that warns when the extracted audio track, that was originally requested to be stored in memory, has been put into a temporary file due to missing memory space.

If the original request was to store the extracted audio track inside a temporary file, this flag can be ignored.

Supported values are the following:

Mnemonic constant

Value

Meaning

BOOL_FALSE

0

The extracted audio track has been stored in memory as requested

BOOL_TRUE

1

Due to missing memory space, the extracted audio track has been stored inside a temporary file which can be accessed through the VideoPlayer.AudioTrackGetTempFilePathname and VideoPlayer.AudioTrackGetTempFileSize methods.

nResult

Result of the audio extraction: see the LastError property for details about the specific error code.