Zebediah Figura
fe8e9daa1b
dsound: Call interface methods properly.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-03 20:46:02 +02:00
Andrew Eikum
468477b694
dsound: Avoid NULL pointer dereference (Coverity).
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:17:55 +09:00
Michael Stefaniuc
bb72548f38
dsound: Use a better name for IDirectSoundBufferImpl_Create().
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 13:50:45 +01:00
Michael Stefaniuc
d51d55bab8
dsound: Simplify error handling when creating a sound buffer.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 13:50:42 +01:00
Michael Stefaniuc
e69d9ec3c4
dsound: A version 1 3d secondary buffer allows SetPan().
...
For version 8 DSBCAPS_CTRL3D and DSBCAPS_CTRLPAN are mutually exclusive
and a sound buffer cannot be created when both flags are set.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 23:45:17 +09:00
Alexandre Julliard
8427c7816d
dsound: Fix an error return code.
2015-03-27 11:33:50 +09:00
Francois Gouget
359fbe829a
dsound: Remove unneeded NONAMELESSXXX directives.
2015-03-11 22:10:31 +09:00
Mark Harmstone
55ed98cb88
dsound: Pipe audio data through DMOs.
2015-03-11 13:18:08 +09:00
Mark Harmstone
862d7dae75
dsound: Implement GetObjectInPath.
2015-03-10 23:53:43 +09:00
Mark Harmstone
17056b9f30
dsound: Implement SetFX.
2015-03-10 23:53:40 +09:00
Mark Harmstone
e6ae73359f
dsound: Keep track of locked bytes.
2015-03-10 23:53:17 +09:00
Mark Harmstone
d4d14cdef0
dsound: Pretend we have hardware buffers.
...
When running in Windows XP mode, XAudio2 will refuse to output surround sound
unless it can open a buffer with DSBCAPS_LOCHARDWARE.
2015-01-13 17:51:54 +01:00
Marton Balint
6d009b988b
dsound: Convert freqAdjust and freqAcc to integers.
...
Fixes resampling errors caused by truncating floating point numbers.
2014-12-29 22:20:30 +01:00
Andrew Eikum
ee126c96f1
dsound: Report buffer notifications in offset order.
2014-12-04 14:03:16 +01:00
Andrew Talbot
b0e95d27a9
dsound: Indentation fix.
2012-12-17 11:47:38 +01:00
Michael Stefaniuc
b18bc659d6
dsound: Avoid a TRUE:FALSE conditional expression.
2012-08-14 11:59:26 +02:00
Andrew Eikum
bf263a347d
dsound: Fail if app requests 3D buffer interface on a non-3D buffer.
2012-06-14 18:20:29 +02:00
Andrew Eikum
f0be44c82d
dsound: Don't destroy primary buffer until device is released.
2012-05-09 17:49:33 +02:00
Andrew Eikum
4354be123c
dsound: Don't derive the secondary position from the primary position.
2012-05-02 12:00:02 +02:00
Andrew Eikum
f393a98a8a
dsound: Convert from fixed to floating point.
2012-05-02 11:59:58 +02:00
Michael Stefaniuc
84d5317302
dsound: Remove the now obsolete IDirectSoundBufferImpl_Destroy().
2012-01-20 13:34:20 +01:00
Michael Stefaniuc
c7f5f10aab
dsound: Merge IDirectSoundNotify into the secondary buffer object.
2012-01-20 13:33:33 +01:00
Michael Stefaniuc
e0d81e55e2
dsound: Merge IDirectSound3DBuffer into the secondary buffer object.
2012-01-19 21:08:49 +01:00
Michael Stefaniuc
3ec0b056d5
dsound: Support IKsPropertySet in the primary buffer too.
2012-01-17 11:53:25 +01:00
Michael Stefaniuc
48ca5924b4
dsound: Merge IKsPropertySet into the secondary buffer object.
2012-01-17 11:53:19 +01:00
Michael Stefaniuc
fd04e770f1
dsound: Drop "Buffer" from the IKsPropertySet method names.
2012-01-17 11:53:05 +01:00
Andrew Eikum
9cf7f95483
dsound: Lock the source buffer during duplication.
2012-01-17 11:51:25 +01:00
Michael Stefaniuc
5959e1d48c
dsound: Use AddRef to set the refcounts at object creation.
2012-01-16 12:45:33 +01:00
Alexander E. Patrakov
663bc47602
dsound: Always resample buffers in mixer thread.
2011-12-29 17:56:48 +01:00
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