process output and do stuff accordintly
| 926 | |
| 927 | // process output and do stuff accordintly |
| 928 | void process(int res) { |
| 929 | if (sheet->HasChanged(fxvolume)) { |
| 930 | Sound_system.SetMasterVolume((*fxvolume) / 10.0f); |
| 931 | Sound_system.BeginSoundFrame(false); |
| 932 | Sound_system.StopSoundImmediate(ls_sound_id); |
| 933 | ls_sound_id = Sound_system.Play2dSound(sound_id); |
| 934 | Sound_system.EndSoundFrame(); |
| 935 | } |
| 936 | if (sheet->HasChanged(musicvolume)) { |
| 937 | D3MusicSetVolume((*musicvolume) / 10.0f); |
| 938 | } |
| 939 | }; |
| 940 | }; |
| 941 | |
| 942 |
nothing calls this directly
no test coverage detected