winecoreaudio.drv: Make AudioSessionManager methods static.
This commit is contained in:
parent
d473d02c64
commit
05df7e0b94
|
@ -2790,7 +2790,7 @@ static const IChannelAudioVolumeVtbl ChannelAudioVolume_Vtbl =
|
|||
ChannelAudioVolume_GetAllVolumes
|
||||
};
|
||||
|
||||
HRESULT WINAPI AudioSessionManager_QueryInterface(IAudioSessionManager2 *iface,
|
||||
static HRESULT WINAPI AudioSessionManager_QueryInterface(IAudioSessionManager2 *iface,
|
||||
REFIID riid, void **ppv)
|
||||
{
|
||||
TRACE("(%p)->(%s, %p)\n", iface, debugstr_guid(riid), ppv);
|
||||
|
@ -2812,7 +2812,7 @@ HRESULT WINAPI AudioSessionManager_QueryInterface(IAudioSessionManager2 *iface,
|
|||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
ULONG WINAPI AudioSessionManager_AddRef(IAudioSessionManager2 *iface)
|
||||
static ULONG WINAPI AudioSessionManager_AddRef(IAudioSessionManager2 *iface)
|
||||
{
|
||||
SessionMgr *This = impl_from_IAudioSessionManager2(iface);
|
||||
ULONG ref;
|
||||
|
@ -2821,7 +2821,7 @@ ULONG WINAPI AudioSessionManager_AddRef(IAudioSessionManager2 *iface)
|
|||
return ref;
|
||||
}
|
||||
|
||||
ULONG WINAPI AudioSessionManager_Release(IAudioSessionManager2 *iface)
|
||||
static ULONG WINAPI AudioSessionManager_Release(IAudioSessionManager2 *iface)
|
||||
{
|
||||
SessionMgr *This = impl_from_IAudioSessionManager2(iface);
|
||||
ULONG ref;
|
||||
|
@ -2832,7 +2832,7 @@ ULONG WINAPI AudioSessionManager_Release(IAudioSessionManager2 *iface)
|
|||
return ref;
|
||||
}
|
||||
|
||||
HRESULT WINAPI AudioSessionManager_GetAudioSessionControl(
|
||||
static HRESULT WINAPI AudioSessionManager_GetAudioSessionControl(
|
||||
IAudioSessionManager2 *iface, const GUID *session_guid, DWORD flags,
|
||||
IAudioSessionControl **out)
|
||||
{
|
||||
|
@ -2859,7 +2859,7 @@ HRESULT WINAPI AudioSessionManager_GetAudioSessionControl(
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT WINAPI AudioSessionManager_GetSimpleAudioVolume(
|
||||
static HRESULT WINAPI AudioSessionManager_GetSimpleAudioVolume(
|
||||
IAudioSessionManager2 *iface, const GUID *session_guid, DWORD flags,
|
||||
ISimpleAudioVolume **out)
|
||||
{
|
||||
|
@ -2886,7 +2886,7 @@ HRESULT WINAPI AudioSessionManager_GetSimpleAudioVolume(
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT WINAPI AudioSessionManager_GetSessionEnumerator(
|
||||
static HRESULT WINAPI AudioSessionManager_GetSessionEnumerator(
|
||||
IAudioSessionManager2 *iface, IAudioSessionEnumerator **out)
|
||||
{
|
||||
SessionMgr *This = impl_from_IAudioSessionManager2(iface);
|
||||
|
@ -2894,7 +2894,7 @@ HRESULT WINAPI AudioSessionManager_GetSessionEnumerator(
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI AudioSessionManager_RegisterSessionNotification(
|
||||
static HRESULT WINAPI AudioSessionManager_RegisterSessionNotification(
|
||||
IAudioSessionManager2 *iface, IAudioSessionNotification *notification)
|
||||
{
|
||||
SessionMgr *This = impl_from_IAudioSessionManager2(iface);
|
||||
|
@ -2902,7 +2902,7 @@ HRESULT WINAPI AudioSessionManager_RegisterSessionNotification(
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI AudioSessionManager_UnregisterSessionNotification(
|
||||
static HRESULT WINAPI AudioSessionManager_UnregisterSessionNotification(
|
||||
IAudioSessionManager2 *iface, IAudioSessionNotification *notification)
|
||||
{
|
||||
SessionMgr *This = impl_from_IAudioSessionManager2(iface);
|
||||
|
@ -2910,7 +2910,7 @@ HRESULT WINAPI AudioSessionManager_UnregisterSessionNotification(
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI AudioSessionManager_RegisterDuckNotification(
|
||||
static HRESULT WINAPI AudioSessionManager_RegisterDuckNotification(
|
||||
IAudioSessionManager2 *iface, const WCHAR *session_id,
|
||||
IAudioVolumeDuckNotification *notification)
|
||||
{
|
||||
|
@ -2919,7 +2919,7 @@ HRESULT WINAPI AudioSessionManager_RegisterDuckNotification(
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI AudioSessionManager_UnregisterDuckNotification(
|
||||
static HRESULT WINAPI AudioSessionManager_UnregisterDuckNotification(
|
||||
IAudioSessionManager2 *iface,
|
||||
IAudioVolumeDuckNotification *notification)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue