mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-03 20:18:57 +00:00
dsound: Make DSOUND_PrimarySetFormat() static.
This commit is contained in:
parent
5b5f00d552
commit
ff0717766c
|
@ -378,7 +378,6 @@ HRESULT DSOUND_PrimaryPlay(DirectSoundDevice *device);
|
||||||
HRESULT DSOUND_PrimaryStop(DirectSoundDevice *device);
|
HRESULT DSOUND_PrimaryStop(DirectSoundDevice *device);
|
||||||
HRESULT DSOUND_PrimaryGetPosition(DirectSoundDevice *device, LPDWORD playpos, LPDWORD writepos);
|
HRESULT DSOUND_PrimaryGetPosition(DirectSoundDevice *device, LPDWORD playpos, LPDWORD writepos);
|
||||||
LPWAVEFORMATEX DSOUND_CopyFormat(LPCWAVEFORMATEX wfex);
|
LPWAVEFORMATEX DSOUND_CopyFormat(LPCWAVEFORMATEX wfex);
|
||||||
HRESULT DSOUND_PrimarySetFormat(DirectSoundDevice *device, LPCWAVEFORMATEX wfex, BOOL forced);
|
|
||||||
HRESULT DSOUND_ReopenDevice(DirectSoundDevice *device, BOOL forcewave);
|
HRESULT DSOUND_ReopenDevice(DirectSoundDevice *device, BOOL forcewave);
|
||||||
|
|
||||||
/* duplex.c */
|
/* duplex.c */
|
||||||
|
|
|
@ -465,7 +465,7 @@ LPWAVEFORMATEX DSOUND_CopyFormat(LPCWAVEFORMATEX wfex)
|
||||||
return pwfx;
|
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;
|
HRESULT err = DSERR_BUFFERLOST;
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in a new issue