mmddk.h: Remove unused, Wine-specific WinMM defines.

This commit is contained in:
Andrew Eikum 2012-04-03 09:14:16 -05:00 committed by Alexandre Julliard
parent b24da40410
commit 1b21fe827f
3 changed files with 0 additions and 16 deletions

View File

@ -1203,10 +1203,6 @@ static HRESULT DirectSoundDevice_Create(DirectSoundDevice ** ppDevice)
return DSERR_OUTOFMEMORY; return DSERR_OUTOFMEMORY;
} }
/* We rely on the sound driver to return the actual sound format of
* the device if it does not support 22050x8x2 and is given the
* WAVE_DIRECTSOUND flag.
*/
device->pwfx->wFormatTag = WAVE_FORMAT_PCM; device->pwfx->wFormatTag = WAVE_FORMAT_PCM;
device->pwfx->nSamplesPerSec = ds_default_sample_rate; device->pwfx->nSamplesPerSec = ds_default_sample_rate;
device->pwfx->wBitsPerSample = ds_default_bits_per_sample; device->pwfx->wBitsPerSample = ds_default_bits_per_sample;

View File

@ -340,10 +340,6 @@ UINT MMDRV_PhysicalFeatures(LPWINE_MLD mld, UINT uMsg,
case DRV_QUERYDEVICEINTERFACESIZE: case DRV_QUERYDEVICEINTERFACESIZE:
return MMDRV_Message(mld, uMsg, dwParam1, dwParam2); return MMDRV_Message(mld, uMsg, dwParam1, dwParam2);
case DRV_QUERYDSOUNDIFACE: /* Wine-specific: Retrieve DirectSound interface */
case DRV_QUERYDSOUNDDESC: /* Wine-specific: Retrieve DirectSound driver description*/
return MMDRV_Message(mld, uMsg, dwParam1, dwParam2);
default: default:
WARN("Unknown call %04x\n", uMsg); WARN("Unknown call %04x\n", uMsg);
return MMSYSERR_INVALPARAM; return MMSYSERR_INVALPARAM;

View File

@ -91,10 +91,6 @@ typedef struct {
#define DRV_QUERYIDFROMSTRINGID (DRV_RESERVED + 16) #define DRV_QUERYIDFROMSTRINGID (DRV_RESERVED + 16)
#define DRV_QUERYFUNCTIONINSTANCEID (DRV_RESERVED + 17) #define DRV_QUERYFUNCTIONINSTANCEID (DRV_RESERVED + 17)
#define DRV_QUERYFUNCTIONINSTANCEIDSIZE (DRV_RESERVED + 18) #define DRV_QUERYFUNCTIONINSTANCEIDSIZE (DRV_RESERVED + 18)
#ifdef __WINESRC__
#define DRV_QUERYDSOUNDIFACE (DRV_RESERVED + 20)
#define DRV_QUERYDSOUNDDESC (DRV_RESERVED + 21)
#endif
#define DRVM_MAPPER_PREFERRED_FLAGS_PREFERREDONLY 0x00000001 #define DRVM_MAPPER_PREFERRED_FLAGS_PREFERREDONLY 0x00000001
@ -466,10 +462,6 @@ BOOL WINAPI mmTaskSignal(DWORD);
VOID WINAPI mmTaskYield(VOID); VOID WINAPI mmTaskYield(VOID);
DWORD WINAPI mmGetCurrentTask(VOID); DWORD WINAPI mmGetCurrentTask(VOID);
#ifdef __WINESRC__
#define WAVE_DIRECTSOUND 0x0080
#endif
#include <poppack.h> #include <poppack.h>
#ifdef __cplusplus #ifdef __cplusplus