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.