9 May
2023
9 May
'23
6:45 a.m.
Huw Davies (@huw) commented about dlls/winepulse.drv/mmdevdrv.c:
- float *levels; -}; - -static HRESULT WINAPI AudioStreamVolume_SetAllVolumes( - IAudioStreamVolume *iface, UINT32 count, const float *levels) -{ - ACImpl *This = impl_from_IAudioStreamVolume(iface); - int i; - - TRACE("(%p)->(%d, %p)\n", This, count, levels); - - if (!levels) - return E_POINTER; - - if (!This->stream) - return AUDCLNT_E_NOT_INITIALIZED; Likewise this (and instances below).
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2764#note_32210