SetMusicVolume

From ZDoom Wiki
Jump to: navigation, search

void SetMusicVolume (fixed volume);

Usage

Sets the sound volume of the music currently playing, as a multiplier.

Parameters

  • volume: The volume multiplier to set. This ranges from 0 to 2.0, with values higher than 1.0 only working if the global volume is low enough so that the end result is not more than 1.0.

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.