Module: wine Branch: master Commit: 84fca0017a5623aa4510f853023dba49586b4815 URL: http://source.winehq.org/git/wine.git/?a=commit;h=84fca0017a5623aa4510f85302...
Author: Francois Gouget fgouget@free.fr Date: Mon Jul 11 11:52:33 2011 +0200
winealsa.drv: Make the AudioSessionManager methods static.
---
dlls/winealsa.drv/mmdevdrv.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/dlls/winealsa.drv/mmdevdrv.c b/dlls/winealsa.drv/mmdevdrv.c index 6889b2e..eda8435 100644 --- a/dlls/winealsa.drv/mmdevdrv.c +++ b/dlls/winealsa.drv/mmdevdrv.c @@ -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) {