Commit Graph

41 Commits

Author SHA1 Message Date
Maarten Lankhorst 15adb260b2 winealsa.drv: Remove wrong calls.
snd_pcm_prepare is called below, and snd_pcm_sw_params is called before
sw_params is initialized.
2009-12-01 11:45:30 +01:00
Maarten Lankhorst ce5ae1ae51 winealsa.drv: Fix dsoutput to work better with pulseaudio.
Better underrun handling and checking return values now.
2009-10-05 13:46:01 +02:00
Erich Hoover 336b0ef18f winealsa.drv: Fix DSOUND_BufPtrDiff in Kane's Wrath with new audio pathway. 2009-09-16 15:45:45 -05:00
Francois Gouget e74efb5487 Assorted spelling fixes. 2009-08-11 12:35:38 +02:00
Maarten Lankhorst 9d649202bb Revert "winealsa.drv: Re-allow fallback to waveout (regression in dsound).".
This reverts commit 0addd3ba5a.
It doesn't fix anything, it just hides the bug.
2009-08-03 17:24:48 +02:00
Erich Hoover 0addd3ba5a winealsa.drv: Re-allow fallback to waveout (regression in dsound). 2009-07-20 12:20:15 +02:00
Maarten Lankhorst f27d88e16f winealsa.drv: Add support for indirect read/write in directsound support.
Allows pulseaudio to use the idsdriver interface, making it almost as 
fast as using native pulseaudio calls for as far as directsound is 
concerned. Prevents the creation of separate winmm feeder threads.
2009-07-13 10:48:06 +02:00
Maarten Lankhorst 6e90756307 winealsa.drv/dsound: Handle underruns better. 2008-09-04 14:09:00 +02:00
Maarten Lankhorst 3995627de2 winealsa.drv: Fix compiler warnings and remove deprecated calls.
Fixes wine build on lsb compliant systems and some warnings.
2008-08-19 13:30:48 +02:00
Maarten Lankhorst 2cd620802a winealsa.drv: Add ability to recover from underruns to directsound driver.
Fixes handling of buffer underruns that might still occur.
2008-08-18 14:34:10 +02:00
Alexandre Julliard 1ecf0c96fa Revert "winealsa: Remove calls to deprecated functions."
This reverts commit c8bdebde3d.
To be revisited after 1.0.
2008-05-12 19:40:47 +02:00
Maarten Lankhorst c8bdebde3d winealsa: Remove calls to deprecated functions. 2008-05-09 11:18:11 +02:00
Andrew Talbot 687af6b2bc winealsa.drv: Assign to structs instead of using memcpy. 2008-03-25 11:45:01 +01:00
Marcus Meissner 1c7c9de498 winalsa.drv: Explicitly include assert.h. 2007-10-31 12:39:54 +01:00
Maarten Lankhorst 61862f9f2d winealsa: Use S24_3LE instead of S24_LE.
S24_LE is aligned with 4 bytes instead of the expected 3.
2007-10-15 16:55:23 +02:00
Maarten Lankhorst 985df9cdf0 winealsa: Remove forceformat and 2 orphan LeaveCriticalSection. 2007-09-10 15:29:47 +02:00
Maarten Lankhorst cdc8d97181 winealsa: Make SetFormat work better with new behavior of dsound. 2007-08-27 19:58:28 +02:00
Maarten Lankhorst 3f59856052 winealsa: Don't commit data on Stop and Play. 2007-08-03 12:28:17 +02:00
Maarten Lankhorst decd2d8156 winealsa: Fix Lock in dsoutput. 2007-08-03 12:28:10 +02:00
Maarten Lankhorst 8e485a15c1 winealsa: Fix GetPosition in dsoutput. 2007-08-03 12:28:03 +02:00
Francois Gouget 5266e57975 Assorted spelling fixes. 2007-07-31 21:37:50 +02:00
Maarten Lankhorst 3d3d4e2c8b winealsa: Implement a light form of locking for dsoutput. 2007-07-31 12:38:59 +02:00
Maarten Lankhorst ecfafa37c7 winealsa: Always commit at least 3 periods in dsoutput. 2007-07-30 13:38:29 +02:00
Maarten Lankhorst 3c8c02a393 winealsa: Minor fixes to ds output. 2007-07-27 12:23:31 +02:00
Maarten Lankhorst 5d7c63f1e0 winealsa: Silence the buffer warning more often. 2007-07-06 19:28:40 +02:00
Francois Gouget a3317a5c01 Assorted spelling fixes. 2007-07-05 19:56:34 +02:00
Maarten Lankhorst 2b194ac81b winealsa: Silence buffer on allocation. 2007-06-29 12:31:50 +02:00
Maarten Lankhorst f4d5f127dd dsound/winealsa: Remove writelead for alsa directsound. 2007-06-28 12:16:14 +02:00
Maarten Lankhorst bfda5d6fbc winealsa: Optimize GetPosition() more in dsalsa. 2007-06-28 12:16:13 +02:00
Alex Villacís Lasso 647ad64faa winealsa: Reduce writeahead to next multiple of psize greater than 512. 2007-06-26 11:53:10 +02:00
Michael Stefaniuc 399a297b19 winealsa.drv: Fix missing unlock on the error path. Found by Smatch. 2007-06-25 11:43:49 +02:00
Maarten Lankhorst 65b40f7f7f winealsa: Finally get rid of the thread in alsa directsound acceleration. 2007-06-22 12:19:50 +02:00
Maarten Lankhorst c846950e35 winealsa: Detach directsound implementation from waveout implementation. 2007-06-13 12:58:18 +02:00
Andrew Talbot bf76e754e5 winealsa.drv: Exclude unused headers. 2007-05-22 12:02:50 +02:00
Maarten Lankhorst 645f1efbc3 winealsa: Remove dead code. 2007-05-14 14:27:25 +02:00
Maarten Lankhorst 6093bb2ece winealsa: Drop unplayed frames instead of waiting for them. 2007-04-23 16:18:21 +02:00
Maarten Lankhorst e9da4016c1 winealsa: Remove usage of uninitialised variable. 2007-02-26 17:33:52 +01:00
Francois Gouget 536e738552 Assorted spelling fixes. 2007-02-14 21:03:57 +01:00
Francois Gouget 0271a09d4c Add missing '\n's in traces. 2007-02-06 13:20:59 +01:00
Maarten Lankhorst d2f29311ca winealsa: Use a helper thread instead of asynchronous callbacks. 2007-02-05 16:54:01 +01:00
Maarten Lankhorst 2d2feb0700 winealsa: Split driver up in tiny pieces. 2007-02-05 16:52:41 +01:00