Commit 849c9304 authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Implemented the DirectSound HAL mode for DMA primary buffers, with a

10ms latency (not noticeable), and about 300ms of prebuffering. Fixed a few bugs. Added a Wine-only WINMM flag for waveOutOpen for DirectSound to use (so drivers like wineoss have some way of knowing what to prepare itself for).
parent 1f0c216e
......@@ -222,6 +222,9 @@ typedef LPDRVCALLBACK LPWAVECALLBACK;
#define WAVE_MAPPED 0x0004
#define WAVE_FORMAT_DIRECT 0x0008
#define WAVE_FORMAT_DIRECT_QUERY (WAVE_FORMAT_QUERY | WAVE_FORMAT_DIRECT)
#ifdef __WINE__
#define WAVE_DIRECTSOUND 0x0080
#endif
typedef struct wavehdr_tag {
LPSTR lpData; /* pointer to locked data buffer */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment