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

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

 

 

Syntax

 

[Visual Basic]

Public Function SaveToFile (

strPathname as string

) as enumErrorCodes


 

[C#]

public enumErrorCodes SaveToFile (

string strPathname

);


 

[C++]

public: enumErrorCodes SaveToFile (

string 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 last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.