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

Method slrUiVolumeRelease

src/Menu/OptionsAudioState.cpp:262–265  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

260 * @param action Pointer to an action.
261 */
262void OptionsAudioState::slrUiVolumeRelease(Action *)
263{
264 _game->getResourcePack()->getSound("GEO.CAT", 0)->play(Mix_GroupAvailable(0));
265}
266
267/**
268 * Changes the Audio Sample Rate option.

Callers

nothing calls this directly

Calls 3

playMethod · 0.45
getSoundMethod · 0.45
getResourcePackMethod · 0.45

Tested by

no test coverage detected