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).