Commit Graph

27 Commits

Author SHA1 Message Date
Maarten Lankhorst 3a9ea794e1 winealsa.drv: Fix underrun recovery. 2009-11-09 19:42:54 +01:00
Maarten Lankhorst d7a9e2d275 winealsa.drv: Remove call to snd_pcm_drain.
snd_pcm_drain can cause a deadlock if in the wrong state, and 
snd_pcm_drop below does the same thing.
2009-10-14 11:24:35 +02:00
Francois Gouget 5ef481922f Assorted spelling fixes. 2009-04-20 15:25:26 +02:00
Francois Gouget e71cfdc1de winealsa.drv: Remove a few unneeded initialisations and unused variables. 2009-03-30 14:22:14 +02:00
Andrew Talbot 2705a96add winealsa.drv: Declare a function static. 2009-01-26 16:05:42 +01:00
Michael Stefaniuc aea94788e4 winealsa.drv: Remove superfluous pointer casts. 2009-01-23 13:14:09 +01:00
Alexandre Julliard ec1b28edb0 include: Fix a number of mmsystem.h structure for Win64. 2009-01-09 18:08:29 +01:00
Maarten Lankhorst 2614269d93 winealsa.drv: Fix 64-bits incompatibilities. 2008-12-02 15:41:47 +01:00
Reece Dunn 7926eba0d5 winealsa.drv: Correct the period_time value for pulseaudio. 2008-12-01 14:05:57 +01:00
Reece Dunn ef0069cbf5 winealsa: Calculate the delay correctly as snd_pcm_delay is not reliable in this context. 2008-11-24 14:36:01 +01:00
Maarten Lankhorst 717df5b297 winealsa.drv: Don't hang on last few bytes not played.
Fixes winmm:wave test hanging.
2008-10-06 13:08:50 +02:00
Maarten Lankhorst 6e90756307 winealsa.drv/dsound: Handle underruns better. 2008-09-04 14:09:00 +02:00
Rob Shearman a7e1753d7b winealsa.drv: Use CP_UNIXCP instead of CP_ACP for strings obtained from native OS functions. 2008-08-27 13:21:21 +02:00
Maarten Lankhorst 944cb7ea15 winealsa.drv: Tune some parameters to make pulseaudio work.
Kudos to pulseaudio for actually respecting buffer_time and period_time.
2008-08-22 10:41:13 +02:00
Detlef Riekenberg 2dedf4c097 winealsa.drv: Fix a typo in an error message. 2008-08-20 11:45: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
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
Alexandre Julliard 9fce052c54 winealsa.drv: Avoid the alsa alloca macros that cause compiler warnings. 2007-10-29 12:07:52 +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 408abf9a76 winealsa: Increase performance of waveout getposition. 2007-07-30 13:38:19 +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 452f728f00 winealsa: Remove disabled code.
SND_PCM_ASYNC was needed to get asynchronous callbacks, but they are
not used any more, so remove the code.
2007-04-23 21:09:03 +02:00
Maarten Lankhorst 2d2feb0700 winealsa: Split driver up in tiny pieces. 2007-02-05 16:52:41 +01:00