Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PSoundChannel::SetVolume ( unsigned  volume ) [inline, virtual]

Set the volume of the play/read process. The volume range is 0 == quiet. 100 == LOUD.

TRUE if there were no errors.
volumeNew volume level

Reimplemented in PSoundChannelDirectSound, PSoundChannelWin32, PSoundChannelBeOS, PSoundChannelCoreAudio, PSoundChannelALSA, PSoundChannelESD, PSoundChannelOSS, and PSoundChannelSunAudio.

Definition at line 568 of file sound.h.

References SetVolume().

Referenced by SetVolume().

    { return (baseChannel == NULL) ? FALSE : baseChannel->SetVolume(volume); }

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index