Andrew Eikum
7fae5f4f9f
dsound: Validate buffer pointers in Unlock methods.
2011-09-26 18:38:11 +02:00
Andrew Eikum
b1fdaa81b0
dsound: Remove hardware acceleration support.
2011-09-26 18:38:07 +02:00
Michael Stefaniuc
c35745d45a
dsound: Handle primary buffers in two more IDirectSoundBuffer methods.
2011-08-31 19:43:06 +02:00
Michael Stefaniuc
a2bc634eaa
dsound: Handle primary buffers in IDirectSoundBufferImpl_SetFormat.
2011-08-31 19:43:06 +02:00
Michael Stefaniuc
6d7c38256f
dsound: Fix refcounting for the secondary buffer object.
...
This fixes a regression introduced in 6b64e0090c
.
2011-08-26 11:31:59 +02:00
Michael Stefaniuc
6b64e0090c
dsound: Kill SecondaryBufferImpl with extreme prejudice.
2011-08-24 12:14:46 +02:00
Michael Stefaniuc
7da80d1f01
dsound: Basic COM cleanup for the IDirectSoundBuffer8 iface.
2011-08-24 12:14:46 +02:00
Frédéric Delanoy
b5a33dab88
dlls: Assorted spelling fixes.
2011-08-02 20:47:51 +02:00
Akihiro Sagawa
2ab3d22663
dsound: Don't copy the position notify on duplicate.
2011-07-22 15:44:16 +02:00
Akihiro Sagawa
3c9bd6ba2a
dsound: Don't copy the notify object on duplicate.
2011-07-22 15:44:13 +02:00
Akihiro Sagawa
c1fbf00d2c
dsound: Fix a typo.
2011-07-18 16:23:30 +02:00
Austin English
6a3255bbbd
dsound: Return success in IDirectSoundBufferImpl_AcquireResources.
2011-05-10 20:32:31 +02:00
Maarten Lankhorst
7326586517
dsound: Move buffer property sets to buffer.c.
2009-12-07 14:46:03 +01:00
Jörg Höhle
de133ae00e
dsound: Correct deallocations when DuplicateSoundBuffer fails.
2009-10-06 16:13:17 +02:00
Jörg Höhle
dc3471ca0e
dsound: Enforce invariant about BlockAlign and nAvgBytesPerSec.
2009-10-06 16:13:17 +02:00
Yuriy Kaminskiy
cb93f15e32
dsound: Fix segv on use-after-free in IDirectSoundNotifyImpl_Release.
2009-06-01 16:16:02 +02:00
Ken Thomases
f85a7b16ca
dsound: Don't use HEAP_ZERO_MEMORY when we're about to overwrite the buffer.
2009-03-03 12:36:21 +01:00
Ken Thomases
b6fcb20433
dsound: Consolidate some duplicate code.
2009-02-24 16:57:27 +01:00
Ken Thomases
ca1d074c50
dsound: Replace a realloc-or-alloc with a free-then-alloc.
...
The buffer is to be overwritten anyway, so there's no need to preserve its
contents. Also, the old code leaked if the realloc were to fail. All in all,
free-then-alloc is simpler.
2009-02-24 16:57:27 +01:00
Jeff Zaroyko
aff1dbe531
dsound: Check for invalid parameter when locking primary and secondary buffers.
2009-01-02 12:48:15 +01:00
Jeff Zaroyko
e55a702928
dsound: Check for invalid parameter when unlocking secondary buffers.
2008-09-05 12:53:29 +02:00
Andrew Talbot
7b3ab79710
dsound: Memory allocation sizes fix.
2008-05-12 11:42:28 +02:00
Maarten Lankhorst
98933362f3
dsound: Hold lock in GetStatus.
2008-04-07 11:34:28 +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
2a117a2017
dsound: Add support for WAVEFORMATEXTENSIBLE format.
2007-11-07 11:48:56 +01:00
Maarten Lankhorst
7144849d0b
dsound: Fix null pointer dereference for waveout in creating buffer.
2007-09-10 15:29:47 +02:00
Maarten Lankhorst
7ce277d018
dsound: Handle secondary hardware buffers more correctly.
...
Only try hardware if asked for it, then return an error instead of
falling back to software.
2007-08-27 12:26:25 +02:00
Maarten Lankhorst
36e9054629
dsound: Move resampling away from mixer thread.
2007-08-02 11:53:31 +02:00
Maarten Lankhorst
34893a914b
dsound: Silence the IDirectSoundBuffer_Initialize warnings.
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
Maarten Lankhorst
976f56d6c0
dsound: Simplify IDirectSoundBufferImpl_GetCurrentPosition.
2007-07-09 12:15:58 +02:00
Maarten Lankhorst
2b8a1815e6
dsound: Remove some more unused variables.
2007-07-09 12:15:40 +02:00
Maarten Lankhorst
f13f48876c
dsound: Clean up some unused variables.
2007-07-06 19:28:59 +02:00
Maarten Lankhorst
6d97123536
dsound: Fix calcplayposition to handle mixed amount > buffer length better.
2007-06-29 18:58:13 +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
13af056628
dsound: Recalculate 3d buffer on SetVolume.
2007-06-04 12:55:47 +02:00
Maarten Lankhorst
909ed9937a
dsound: Fix buffer caps.
2007-06-04 12:55:41 +02:00
Maarten Lankhorst
2360358944
dsound: Block align SetCurrentPosition and add test for it.
2007-05-25 19:31:05 +02:00
Andrew Talbot
1e4c97175e
dsound: Exclude unused headers.
2007-05-03 14:23:53 +02:00
Jan Zerebecki
4c4821e305
dsound: Conform critical section DebugInfo names.
2007-03-12 13:40:22 +01: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
52e384f9fb
dsound: Rename some functions, make some functions global, and move
...
some code around.
2006-01-14 17:06:52 +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
669b79b8f5
Change secondary buffer variable name to secondary.
...
Fix AddRef and Release to use proper class.
2005-10-19 19:21:38 +00:00