Rob Shearman
7af7e8ece5
dsound: Add explicit "!= S_OK" to expressions that use HRESULTs as booleans.
2008-09-12 16:50:10 +02:00
Maarten Lankhorst
dc22442141
dsound: Tune some parameters to make pulseaudio work.
2008-08-22 10:41:16 +02:00
Andrew Talbot
e8aebfcb4b
dsound: Assign to structs instead of using CopyMemory.
2008-03-31 12:50:30 +02:00
Maarten Lankhorst
021019ff8f
dsound: Add an option to mix sound buffers in the mixer again.
2008-03-17 14:44:46 +01:00
Maarten Lankhorst
4d1129f785
dsound: Use a 2 stage mixing/normalization for sound.
2007-11-09 12:24:06 +01:00
Maarten Lankhorst
3230ea026a
dsound: Make sure device buflen is initially set to ds_hel_buflen.
2007-10-15 14:52:30 +02:00
Maarten Lankhorst
6ad603d219
dsound: Release buffer before reopening when buffer is too small.
2007-10-09 17:52:46 +02:00
Maarten Lankhorst
3bafbb22b8
dsound: Use smaller buffers for wavein capture.
2007-10-01 12:42:42 +02:00
Maarten Lankhorst
6506dff8b8
dsound: Check if hardware buffer is big enough before accepting it.
2007-09-27 11:08:05 +02:00
Maarten Lankhorst
d65ae3ffe9
dsound: Support arbitrarily sized buffers for waveout.
2007-09-11 12:38:04 +02:00
Maarten Lankhorst
0c4ec8a1cc
dsound: Fix overshot calculations.
2007-09-11 12:38:01 +02:00
Maarten Lankhorst
7a04c24e63
dsound: Fix detection of different sample rates in setformat.
2007-09-10 15:29:47 +02:00
Francois Gouget
a116879507
Assorted spelling fixes.
2007-08-30 12:26:02 +02:00
Maarten Lankhorst
5d0b1fabd3
dsound: Update DSOUND_PrimarySetFormat to follow flags and return values more precisely.
2007-08-27 19:28:03 +02:00
Maarten Lankhorst
7519326d03
dsound: Add a function to (re)open sound device to avoid code duplication.
2007-08-27 19:27:47 +02:00
Maarten Lankhorst
3838a770c1
dsound: Make sure waveOutClose is only called when using mmsystem.
2007-08-27 12:25:52 +02:00
Maarten Lankhorst
2ececbeda9
dsound: Transparantly fall back to software mode if hardware mode is unavailable.
2007-08-23 12:37:47 +02:00
Maarten Lankhorst
4ef6e8eaa0
dsound: Move assignment of DSBCAPS_LOC to primary buffer creation time.
2007-08-22 12:18:59 +02:00
Alexandre Julliard
3d30204156
dsound: Fix a compiler warning.
2007-08-21 12:43:15 +02:00
Maarten Lankhorst
9c469e1a94
dsound: Handle failing of IDsDriver_CreateSoundBuffer better.
2007-08-20 22:22:10 +02:00
Maarten Lankhorst
3f762d5d0b
dsound: Sound acceleration fixes.
2007-08-06 13:56:20 +02:00
Michael Stefaniuc
efe4573bc8
dsound: Remove redundant NULL check before HeapFree. Found by Smatch.
2007-08-06 12:18:08 +02:00
Maarten Lankhorst
36e9054629
dsound: Move resampling away from mixer thread.
2007-08-02 11:53:31 +02:00
Maarten Lankhorst
60f4db0345
dsound: Get rid of DS_HEL_FRAGS.
2007-07-31 22:20:21 +02:00
Maarten Lankhorst
7fcce036da
dsound: Add a registry setting for hel buffer length.
2007-07-31 22:19:57 +02:00
Maarten Lankhorst
bfa05bf232
dsound: Remove some more unused variables.
2007-07-30 23:37:58 +02:00
Maarten Lankhorst
34893a914b
dsound: Silence the IDirectSoundBuffer_Initialize warnings.
2007-07-30 23:37:58 +02:00
Maarten Lankhorst
de9cecaaa8
dsound: Reset state when stopping device.
2007-07-30 23:37:58 +02:00
Maarten Lankhorst
237b293829
dsound: Replace buffer critical section with a rw-lock.
2007-07-30 23:37:58 +02:00
Francois Gouget
a3317a5c01
Assorted spelling fixes.
2007-07-05 19:56:34 +02:00
Maarten Lankhorst
f4d5f127dd
dsound/winealsa: Remove writelead for alsa directsound.
2007-06-28 12:16:14 +02:00
Alex Villacís Lasso
1a23836f91
dsound: Reset device playpos/mixpos on buflen change.
2007-06-26 11:54:51 +02:00
Michael Stefaniuc
2323e79e36
dsound: Fix missing unlock on an error path. Found by Smatch.
2007-06-25 11:43:44 +02:00
Maarten Lankhorst
a7d6ed8ea6
dsound: Simplify mixing by removing remixing support, and fix its waveout breakage.
...
Based on a patch by Peter Dons Tychsen.
2007-06-22 12:23:18 +02:00
Maarten Lankhorst
9591246002
dsound: Give rougher estimates for fraglen to satisfy alsa.
2007-06-22 12:20:00 +02:00
Maarten Lankhorst
909ed9937a
dsound: Fix buffer caps.
2007-06-04 12:55:41 +02:00
Maarten Lankhorst
c83fd812f1
dsound: Fix stupid mistake.
2007-05-29 11:55:14 +02:00
Maarten Lankhorst
6e9276e970
dsound: Primary buffer isn't an IDirectSoundBuffer8.
2007-05-14 14:29:33 +02:00
Andrew Talbot
1e4c97175e
dsound: Exclude unused headers.
2007-05-03 14:23:53 +02:00
Maarten Lankhorst
836776ae4f
dsound: Make sure we're holding the lock on Drop And Stop.
2007-04-23 14:05:42 +02:00
Tomas Carnecky
9b4f99782e
dsound: Update prototypes for IDirectSoundBuffer::Lock/Unlock.
2007-03-08 21:30:54 +01:00
Michael Stefaniuc
26bd2ec9c3
dsound: Win64 printf format warning fixes.
2006-11-13 12:49:04 +01:00
Alexandre Julliard
179a4e0a2e
dsound: Make some functions static.
2006-08-02 13:26:14 +02:00
Alexandre Julliard
bc99ac09d3
dsound: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:10:32 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Robert Reif
b06a06090a
dsound: Check DirectSoundBuffer_Lock parameters.
...
Check DirectSoundBuffer_Lock parameters and return an error (like
Windows) rather than fixing up the parameters.
2006-05-05 17:29:13 +02:00
Robert Reif
2d82fc42f0
dsound: Add DSOUND_PrimarySetFormat and use it to set primary format.
2006-01-14 17:06:22 +01:00
Robert Reif
e49a5c22fb
dsound: Refactor playback.
...
Replace references of IDirectSoundImpl with DirectSoundDevice to
remove one level of indirection and remove the problem of a three
object circular reference.
2006-01-06 12:35:20 +01:00
Robert Reif
0265676a27
dsound: Remove WINAPI from internal functions.
2006-01-03 17:32:50 +01:00
Robert Reif
6727c52f3b
Include winuser.h so the code compiles cleanly on windows using
...
windows headers.
2005-10-17 09:24:50 +00:00