Copyright © 2001-2019 MultiMedia Soft

GetBitsPerSample method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the number of bits per sample of the loaded sound.

 

The availability of this information requires a prior call to the ReadSoundInfo method.

 

 

Syntax

 

[Visual Basic]

control.GetBitsPerSample (

nPlayer as Integer

) as Long


 

[C++]

long control.GetBitsPerSample (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

> 0

The number of bits per sample of the loaded sound