Previous Topic Index Next Topic
[API function]

FSOUND_CD_GetVolume

Returns the volume of the playing CD audio.

int F_API FSOUND_CD_GetVolume(
char drive
);

Parameters

drive the drive ID to use. 0 is the default CD drive. Using D or E in single quotes would be D: or E: for example.

Return Value

On success, a value between 0 and 255 is returned, 0 being the lowest volume and 255 being the highest.
On failure, -1 is returned.

Remarks

___________________
Supported on the following platforms : Win32, Linux, Macintosh (OSX CFM Only)

See Also

FSOUND_CD_Play , FSOUND_CD_SetVolume , FSOUND_Close

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Dec 15 17:31:28 2005 by SourceDoc v0.10, the automated source code documenter.