dsound: Make a function static, remove a no longer used array.

This commit is contained in:
Marcus Meissner 2011-10-04 02:38:06 +02:00 committed by Alexandre Julliard
parent e19be58e90
commit 1533965e8c
1 changed files with 2 additions and 4 deletions

View File

@ -822,8 +822,6 @@ static HRESULT IDirectSoundCaptureBufferImpl_Create(
/******************************************************************************* /*******************************************************************************
* DirectSoundCaptureDevice * DirectSoundCaptureDevice
*/ */
DirectSoundCaptureDevice * DSOUND_capture[MAXWAVEDRIVERS];
static HRESULT DirectSoundCaptureDevice_Create( static HRESULT DirectSoundCaptureDevice_Create(
DirectSoundCaptureDevice ** ppDevice) DirectSoundCaptureDevice ** ppDevice)
{ {
@ -880,7 +878,7 @@ static ULONG DirectSoundCaptureDevice_Release(
return ref; return ref;
} }
void CALLBACK DSOUND_capture_timer(UINT timerID, UINT msg, DWORD_PTR user, static void CALLBACK DSOUND_capture_timer(UINT timerID, UINT msg, DWORD_PTR user,
DWORD_PTR dw1, DWORD_PTR dw2) DWORD_PTR dw1, DWORD_PTR dw2)
{ {
DirectSoundCaptureDevice *device = (DirectSoundCaptureDevice*)user; DirectSoundCaptureDevice *device = (DirectSoundCaptureDevice*)user;