Copyright © 2006-2018 MultiMedia Soft

RecordedSound.SaveToFile method

Previous pageReturn to chapter overviewNext page

Remarks

 

If sound data resulting from a recording session has been stored in memory, this method will save the buffer's contents into a file on disk.

 

For further details about recorded sound methods refer to the RecordedSound object section.

For further details see the How to perform a recording session section.

 

 

Syntax

 

[Visual Basic]

control.RecordedSound.SaveToFile (

strPathname as string

) as enumErrorCodes


 

[C++]

short control.RecordedSound.SaveToFile (

LPCTSTR strPathname

);


 

 

 

Parameter

Description

 

 

strPathname

Absolute pathname of the destination file. If this pathname should contain invalid characters, they would be automatically changed into an underscore '_' character.

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.