Robert Reif
919ee6b699
dsound: Fix duplex create bug.
2006-02-28 12:40:16 +01:00
Robert Reif
64841caba8
dsound: Fix duplex test.
2006-02-09 12:08:05 +01:00
Robert Reif
6255936c83
dsound: Duplex test fix.
2006-01-25 13:15:25 +01:00
Robert Reif
c82a63ba97
dsound: Primary buffer size change tests.
...
It looks like Windows doesn't change the primary buffer length when
changing formats so make the tests fail now.
This means the current ALSA implementation is broken when hardware
acceleration is set to full and the primary buffer format is changed.
2006-01-17 16:19:54 +01:00
Robert Reif
03b8fca7e2
dsound: Add full duplex tests.
2006-01-17 16:19:14 +01:00
Robert Reif
27e591959f
dsound: Add full duplex support.
2006-01-17 16:13:58 +01:00
Robert Reif
3a4e11cd24
dsound: Convert IDirectSoundImpl from a COM class to a regular class
...
and move most of the COM functions to the DirectSoundDevice class.
2006-01-17 16:10:15 +01:00
Robert Reif
eb919b5263
dsound: Make dumpCooperativeLevel global.
...
Remove extern from some function prototypes.
2006-01-16 20:39:52 +01:00
Robert Reif
34ec3a633a
dsound: Make some capture functions global.
2006-01-16 20:39:14 +01: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
2d82fc42f0
dsound: Add DSOUND_PrimarySetFormat and use it to set primary format.
2006-01-14 17:06:22 +01:00
Robert Reif
54cf8ea1ac
dsound: Add primary buffer change tests.
...
Add tests to figure out whether Windows can change the primary buffer
capabilities after setting the buffer format. Based on a patch by Alex
Villacís Lasso.
2006-01-11 12:12:46 +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
b2d604a9da
dsound: Fix double free bug in tests.
...
Fix double free in tests. Only happens in interactive mode when
testing duplicated 3D buffers.
2006-01-06 12:16:41 +01:00
Robert Reif
5070268711
dsound: Capture refactoring.
...
Move initialization code from DirectSoundCapture to
DirectSoundCaptureDevice.
Make DirectSoundCaptureBuffer directly reference
DirectSoundCaptureDevice rather than DirectSoundCapture to eliminate
one level of indirection.
Rename DSOUND_CreateDirectSoundCaptureBuffer to
IDirectSoundCaptureBufferImpl_Create to be consistent.
2006-01-05 13:37:15 +01:00
Robert Reif
7643df49d7
dsound: Capture cleanup.
...
Move code and function prototypes around to eliminate forward
declarations. No code is changed.
2006-01-04 14:49:34 +01:00
Robert Reif
0265676a27
dsound: Remove WINAPI from internal functions.
2006-01-03 17:32:50 +01:00
Robert Reif
88ff432164
dsound Add uninitialized check.
2006-01-03 12:11:27 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Robert Reif
efff88b834
Handle failure on Windows 95 properly.
...
Make two functions available to all files.
Make format_string() const correct.
2005-11-18 12:04:36 +00:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Davin McCall
a9a689c592
PhaseCancel subtracts secondary buffer from primary buffer, not the
...
other way around.
2005-11-01 10:18:55 +00:00
Robert Reif
0c488e76b1
Remove unused variable from IDirectSoundFullDuplexImpl.
...
Move DirectSoundFullDuplexCreate to get rid of forward declarations.
2005-10-27 10:18:51 +00: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
Robert Reif
6727c52f3b
Include winuser.h so the code compiles cleanly on windows using
...
windows headers.
2005-10-17 09:24:50 +00:00
Mike O'Regan
5fd4aa6fc4
Tests commented out and FIXME-ed long ago now pass.
2005-10-11 19:57:17 +00:00
Robert Reif
57444565e6
Fix PrimaryBufferImpl pointer to deleted DirectSoundImpl.
2005-10-11 19:26:37 +00:00
Robert Reif
0966d61344
DirectSoundDevice reference count cleanup.
2005-10-10 10:29:13 +00:00
Robert Reif
b6dd5de03f
Fix dsound8 test to deal with an installed but unregistered
...
IDirectSound8.
2005-10-10 10:27:50 +00:00
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +00:00
Robert Reif
594b7f26e4
Fix capture test to not fail when IDirectSoundCapture class is not
...
registered.
2005-09-23 10:05:40 +00:00
Marcus Meissner
bd7ec9aca5
The last argument to MultiByteToWideChar is wide character count and
...
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Alexandre Julliard
261e376495
Fixed a number of pointer to integer conversions that wouldn't work
...
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard
c6b005ac69
Fixed some more traces to use the right printf format and avoid
...
typecasts.
2005-09-12 14:12:46 +00:00
Alexandre Julliard
f8ee161a1b
Fixed some traces to use the right printf format and avoid typecasts.
2005-09-12 10:30:05 +00:00
Alexandre Julliard
20a1a203c6
Use a more portable scheme for storing the name of a critical
...
section.
2005-09-09 10:19:44 +00:00
Alexandre Julliard
7f67b35a0d
Replace a few more direct lpVtbl accesses by the proper macros.
2005-09-07 13:28:25 +00:00
Mike McCormack
6dc69f5f54
Fix gcc 4.0 warnings.
2005-09-02 12:26:21 +00:00
Mike McCormack
4a5378efcd
Fix some gcc 4.0 warnings.
2005-08-30 08:56:35 +00:00
Vincent Béron
7160af007c
Uniformize DllMain TRACEing across dlls.
2005-08-15 10:48:51 +00:00
Alex Villacís Lasso
5577cc739d
Correction to earlier assertion patch to allow for buf_mixpos ==
...
buflen in non-looping case, fixes looping of one-off mixed samples
introduced by previous patch.
2005-08-03 19:13:58 +00:00
Alex Villacís Lasso
7840becd3f
Prevent dsb->buf_mixpos from ever remaining past dsb->buflen even if
...
not in DSBPLAY_LOOPING case, to prevent assertion failure in
DSOUND_MixInBuffer.
2005-08-02 09:47:32 +00:00
Stefan Huehner
aed3fb612d
Fix some sign-compare warnings by choosing correct datatypes.
2005-07-15 16:34:04 +00:00
Stefan Huehner
06822b8977
Fix some write-strings warnings.
2005-07-15 09:58:36 +00:00
Mike McCormack
0791d06215
Interlocked LONG* gcc warning fixes.
2005-07-12 19:21:36 +00:00
Mike McCormack
257c337c19
gcc 4.0 -Wpointer-sign fixes (Reg* functions).
2005-07-07 12:08:42 +00:00
Stefan Huehner
863a4b1488
Fix some more -Wstrict-prototypes warnings.
2005-06-21 20:53:13 +00:00
Felix Nawothnig
12168fe749
Accept DSERR_NODRIVER from IDirectSoundCapture_CreateCaptureBuffer.
2005-06-21 20:21:39 +00:00
Robert Reif
0043504155
Fix a typo.
2005-06-21 09:43:29 +00:00
Stefan Huehner
ac6f562b52
Fix more -Wstrict-prototypes warnings.
2005-06-20 14:18:03 +00:00