9 May
2023
9 May
'23
11:23 a.m.
Huw Davies (@huw) commented about dlls/mmdevapi/session.c:
return CONTAINING_RECORD(iface, struct audio_session_wrapper, ISimpleAudioVolume_iface); }
-static void set_stream_volumes(struct audio_client *This) -{ - struct set_volumes_params params; - - params.stream = This->stream; - params.master_volume = (This->session->mute ? 0.0f : This->session->master_vol); - params.volumes = This->vols; - params.session_volumes = This->session->channel_vols; - - WINE_UNIX_CALL(set_volumes, ¶ms); -} -
You'll have to move this over in the last commit, as at this point not all the drivers have `client.c`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2764#note_32269