MCPcopy Create free account
hub / github.com/TASEmulators/fceux / pcmChanged

Method pcmChanged

src/drivers/Qt/ConsoleSoundConf.cpp:506–521  ·  view source on GitHub ↗

----------------------------------------------------

Source from the content-addressed store, hash-verified

504}
505//----------------------------------------------------
506void ConsoleSndConfDialog_t::pcmChanged(int value)
507{
508 char stmp[32];
509
510 sprintf(stmp, "%i", value);
511
512 pcmLbl->setText(stmp);
513
514 g_config->setOption("SDL.Sound.PCMVolume", value);
515
516 if (FCEU_WRAPPER_TRYLOCK(1000))
517 {
518 FCEUI_SetPCMVolume(value);
519 FCEU_WRAPPER_UNLOCK();
520 }
521}
522//----------------------------------------------------
523void ConsoleSndConfDialog_t::enaSoundStateChange(int value)
524{

Callers

nothing calls this directly

Calls 3

FCEUI_SetPCMVolumeFunction · 0.85
setTextMethod · 0.80
setOptionMethod · 0.80

Tested by

no test coverage detected