winealsa.drv: Make the AudioSessionManager methods static.
This commit is contained in:
parent
bfc12c0c94
commit
84fca0017a
|
@ -2965,7 +2965,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);
|
||||
|
@ -2987,7 +2987,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;
|
||||
|
@ -2996,7 +2996,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;
|
||||
|
@ -3007,7 +3007,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)
|
||||
{
|
||||
|
@ -3034,7 +3034,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)
|
||||
{
|
||||
|
@ -3061,7 +3061,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);
|
||||
|
@ -3069,7 +3069,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);
|
||||
|
@ -3077,7 +3077,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);
|
||||
|
@ -3085,7 +3085,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)
|
||||
{
|
||||
|
@ -3094,7 +3094,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