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 * DSOUND_capture[MAXWAVEDRIVERS];
static HRESULT DirectSoundCaptureDevice_Create(
DirectSoundCaptureDevice ** ppDevice)
{
@ -880,8 +878,8 @@ static ULONG DirectSoundCaptureDevice_Release(
return ref;
}
void CALLBACK DSOUND_capture_timer(UINT timerID, UINT msg, DWORD_PTR user,
DWORD_PTR dw1, DWORD_PTR dw2)
static void CALLBACK DSOUND_capture_timer(UINT timerID, UINT msg, DWORD_PTR user,
DWORD_PTR dw1, DWORD_PTR dw2)
{
DirectSoundCaptureDevice *device = (DirectSoundCaptureDevice*)user;
UINT32 packet_frames, packet_bytes, avail_bytes;