Francois Gouget : dsound: Make DSOUND_PrimarySetFormat() static.
Alexandre Julliard
julliard at winehq.org
Wed Dec 2 10:22:13 CST 2009
Module: wine
Branch: master
Commit: ff0717766cd8f180a059bec95f504b6c3bfc9b35
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ff0717766cd8f180a059bec95f504b6c3bfc9b35
Author: Francois Gouget <fgouget at free.fr>
Date: Wed Dec 2 12:13:08 2009 +0100
dsound: Make DSOUND_PrimarySetFormat() static.
---
dlls/dsound/dsound_private.h | 1 -
dlls/dsound/primary.c | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/dsound/dsound_private.h b/dlls/dsound/dsound_private.h
index d52d697..1b25ddd 100644
--- a/dlls/dsound/dsound_private.h
+++ b/dlls/dsound/dsound_private.h
@@ -378,7 +378,6 @@ HRESULT DSOUND_PrimaryPlay(DirectSoundDevice *device);
HRESULT DSOUND_PrimaryStop(DirectSoundDevice *device);
HRESULT DSOUND_PrimaryGetPosition(DirectSoundDevice *device, LPDWORD playpos, LPDWORD writepos);
LPWAVEFORMATEX DSOUND_CopyFormat(LPCWAVEFORMATEX wfex);
-HRESULT DSOUND_PrimarySetFormat(DirectSoundDevice *device, LPCWAVEFORMATEX wfex, BOOL forced);
HRESULT DSOUND_ReopenDevice(DirectSoundDevice *device, BOOL forcewave);
/* duplex.c */
diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c
index 6b3ca35..30a8968 100644
--- a/dlls/dsound/primary.c
+++ b/dlls/dsound/primary.c
@@ -465,7 +465,7 @@ LPWAVEFORMATEX DSOUND_CopyFormat(LPCWAVEFORMATEX wfex)
return pwfx;
}
-HRESULT DSOUND_PrimarySetFormat(DirectSoundDevice *device, LPCWAVEFORMATEX wfex, BOOL forced)
+static HRESULT DSOUND_PrimarySetFormat(DirectSoundDevice *device, LPCWAVEFORMATEX wfex, BOOL forced)
{
HRESULT err = DSERR_BUFFERLOST;
int i;
More information about the wine-cvs
mailing list