dsound: Make some DirectSoundDevice_*() functions static.

This commit is contained in:
Francois Gouget 2015-01-20 03:28:05 +01:00 committed by Alexandre Julliard
parent dfaef5306f
commit 57582b37b3
1 changed files with 4 additions and 4 deletions

View File

@ -199,7 +199,7 @@ static ULONG DirectSoundDevice_AddRef(DirectSoundDevice * device)
return ref; return ref;
} }
ULONG DirectSoundDevice_Release(DirectSoundDevice * device) static ULONG DirectSoundDevice_Release(DirectSoundDevice * device)
{ {
HRESULT hr; HRESULT hr;
ULONG ref = InterlockedDecrement(&(device->ref)); ULONG ref = InterlockedDecrement(&(device->ref));
@ -271,7 +271,7 @@ BOOL DSOUND_check_supported(IAudioClient *client, DWORD rate,
return hr == S_OK; return hr == S_OK;
} }
HRESULT DirectSoundDevice_Initialize(DirectSoundDevice ** ppDevice, LPCGUID lpcGUID) static HRESULT DirectSoundDevice_Initialize(DirectSoundDevice ** ppDevice, LPCGUID lpcGUID)
{ {
HRESULT hr = DS_OK; HRESULT hr = DS_OK;
GUID devGUID; GUID devGUID;
@ -398,7 +398,7 @@ HRESULT DirectSoundDevice_Initialize(DirectSoundDevice ** ppDevice, LPCGUID lpcG
return hr; return hr;
} }
HRESULT DirectSoundDevice_CreateSoundBuffer( static HRESULT DirectSoundDevice_CreateSoundBuffer(
DirectSoundDevice * device, DirectSoundDevice * device,
LPCDSBUFFERDESC dsbd, LPCDSBUFFERDESC dsbd,
LPLPDIRECTSOUNDBUFFER ppdsb, LPLPDIRECTSOUNDBUFFER ppdsb,
@ -539,7 +539,7 @@ HRESULT DirectSoundDevice_CreateSoundBuffer(
return hres; return hres;
} }
HRESULT DirectSoundDevice_DuplicateSoundBuffer( static HRESULT DirectSoundDevice_DuplicateSoundBuffer(
DirectSoundDevice * device, DirectSoundDevice * device,
LPDIRECTSOUNDBUFFER psb, LPDIRECTSOUNDBUFFER psb,
LPLPDIRECTSOUNDBUFFER ppdsb) LPLPDIRECTSOUNDBUFFER ppdsb)