Copyright © 2008-2023 MultiMedia Soft

GetSoundFileSizeAfterLoad method

Previous pageReturn to chapter overviewNext page

Remarks

 

Returns the size in bytes of the given sound file when it will be decoded and stored in memory without the need to load the sound file itself in memory.

Accepted formats are the same of the LoadSound method.

 

Syntax

 

[Visual Basic]

control.GetSoundFileSizeAfterLoad (

strPathame as String

) as Long


 

[C++]

long control.GetSoundFileSizeAfterLoad (

LPCTSTR strPathame

);


 

 

Parameter

Description

 

 

strPathname

String containing the absolute pathname of the song file to check.

 

 

Return value

 

Value

Meaning

 

 

Value > 0

Size expressed in bytes

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.