Copyright © 2005-2018 MultiMedia Soft

ExportToWavStop event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs at the end of an exporting session of the loaded sound into a file in WAV format. The exporting session is started through a previous call to the RequestSoundExportToWav method.

 

For further details about exporting a sound to a file in WAV format take a look to the How to export the loaded song into a WAV file section.

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event ExportToWavStop As ExportToWavStopEventHandler


 

[C#]

public event ExportToWavStopEventHandler ExportToWavStop;


 

[C++]

public: __event ExportToWavStopEventHandler ExportToWavStop;


 

 

Event Data

 

The event handler receives an argument of type ExportToWavStopEventArgs having the following parameters:

 

Parameters

Description

 

 

nPlayerIndex

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

nTotalSize

Number representing the total size, expressed in bytes, of the exported WAV file.

 

In case of an export to a memory file, this value is useful for the container application in order to allocate the buffer that will be passed to the CopyExportedWavToMemory method.

 

If this parameter's value is 0, an error occurred and the sound was not exported successfully: the cause of the error can be checked through the LastError property.