MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / slrSoundVolumeRelease

Method slrSoundVolumeRelease

src/Menu/OptionsAudioState.cpp:243–246  ·  view source on GitHub ↗

* Plays a game sound for volume preview. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

241 * @param action Pointer to an action.
242 */
243void OptionsAudioState::slrSoundVolumeRelease(Action *)
244{
245 _game->getResourcePack()->getSound("GEO.CAT", 5)->play();
246}
247
248/**
249 * Updates the UI volume with the slider.

Callers

nothing calls this directly

Calls 3

playMethod · 0.45
getSoundMethod · 0.45
getResourcePackMethod · 0.45

Tested by

no test coverage detected