3 May
2023
3 May
'23
7:06 p.m.
Davide Beatrici (@davidebeatrici) commented about dlls/winecoreaudio.drv/coreaudio.c:
{ struct set_volumes_params *params = args; struct coreaudio_stream *stream = handle_get_stream(params->stream); - Float32 level = 1.0, tmp; + Float32 level = params->master_volume; OSStatus sc; UINT32 i; + AudioObjectPropertyAddress prop_addr = { + kAudioDevicePropertyVolumeScalar, + kAudioObjectPropertyScopeGlobal, If it turns out the volume is altered for both input and output, we can use `kAudioDevicePropertyScopeInput` or `kAudioDevicePropertyScopeOutput` depending on the stream direction.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2732#note_31906