----------------------------------------------------
| 504 | } |
| 505 | //---------------------------------------------------- |
| 506 | void 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 | //---------------------------------------------------- |
| 523 | void ConsoleSndConfDialog_t::enaSoundStateChange(int value) |
| 524 | { |
nothing calls this directly
no test coverage detected