| 1069 | } |
| 1070 | |
| 1071 | void SetAudioVolume(float value) |
| 1072 | { |
| 1073 | auto& audioContext = GetContext()->GetAudioContext(); |
| 1074 | auto* mixer = audioContext.GetMixer(); |
| 1075 | if (mixer != nullptr) |
| 1076 | { |
| 1077 | mixer->SetVolume(value); |
| 1078 | } |
| 1079 | } |
| 1080 | }; |
| 1081 | |
| 1082 | std::unique_ptr<IUiContext> Ui::CreateUiContext(IPlatformEnvironment& env) |
no test coverage detected