Commit Graph

173 Commits

Author SHA1 Message Date
Austin English
aca6107785 winealsa.drv: Remove extraneous parentheses (LLVM/Clang). 2011-04-13 14:13:55 +02:00
Jörg Höhle
75dbd1162e winmm: Audio drivers unconditionally invoke DriverCallback. 2011-04-11 17:32:29 +02:00
Alexandre Julliard
255cc210b6 winealsa.drv: Remove unnecessary ifdefs. 2011-03-28 22:07:26 +02:00
Jörg Höhle
e52f5773e1 winealsa: Favour HeapAlloc() over malloc(). 2011-03-15 17:14:08 +01:00
Jörg Höhle
8df872535e winealsa: Ignore failure to notify winmm wave clients. 2011-03-15 17:14:08 +01:00
Jörg Höhle
04e3bda410 winealsa: Open must fail when recorder thread creation fails. 2011-03-15 17:14:08 +01:00
Jörg Höhle
56f2c5800f winealsa: CreateEvent and CreateThread return NULL on error, not INVALID_HANDLE_VALUE. 2011-03-15 17:14:08 +01:00
Marcus Meissner
a1a2de1853 winealsa.drv: Fixed bad sizeof (pointer vs struct) (Coverity). 2011-03-14 13:11:11 +01:00
Andy Norris
254b8f85b5 winealsa: Add support for alsa cards without a PCM mixer (only Line). 2011-03-08 16:55:10 +01:00
Rafał Mużyło
110e66dc0c winealsa.drv: Drop redundant calls. 2011-03-04 16:26:01 +01:00
Marcus Meissner
4b5641add1 winealsa.drv: Re-add capcontrols initialization. 2010-12-27 11:47:21 +01:00
Michael Stefaniuc
820f376985 winealsa.drv: Standardize the COM usage in dsoutput.c. 2010-12-08 16:10:42 +01:00
Jeff Cook
0b4c99cd7d winealsa.drv: Rewrite channel counting for additional readability and circumvention of a couple of crashes. 2010-10-11 17:11:26 +02:00
Jeff Cook
e96d3d538a winealsa.drv: Only set micelem as master if there are no other elems on this card. 2010-10-11 17:11:25 +02:00
Alexandre Julliard
81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Austin English
abd0a93afd winealsa.drv: Remove unused variable. 2010-09-06 16:17:10 +02:00
Jeff Cook
e699184e48 winealsa.drv: Only filllines_no_master with micelem when micelem is found. 2010-08-24 17:22:49 +02:00
Jeff Cook
343f85ea66 winealsa.drv: If we can't open a device as stereo, try mono. This is necessary for snd-usb-audio mics. 2010-08-03 11:46:47 +02:00
Jeff Cook
6120d7cc14 winealsa.drv: Init mixer on cards with a single Mic control, like snd_usb_audio mics. 2010-08-03 11:46:42 +02:00
Alexandre Julliard
b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Jörg Höhle
3d94ea8215 winealsa: Only linear PCM is supported. 2010-06-23 16:56:00 +02:00
Henri Verbeet
555e21307e winealsa.drv: Add some missing newlines. 2010-06-16 12:48:51 +02:00
Andrew Nguyen
13a7708abb winealsa.drv: Replicate the snd_pcm_recover alsa-lib implementation to cope with older alsa-lib versions. 2010-06-11 11:38:59 +02:00
Jörg Höhle
8fa84df772 winealsa: MOD_MIDIPORT has 0 voices and notes and FFFF ChannelMask. 2010-05-18 18:42:09 +02:00
Jörg Höhle
3af7e99ba0 winealsa: Supply FFFFFFFF for midiOutGetVolume, no garbage. 2010-05-18 18:42:09 +02:00
Maarten Lankhorst
755c25d84e winealsa.drv: Clean up initialisation. 2010-05-03 17:34:01 +02:00
Maarten Lankhorst
3beb1b6a11 winealsa.drv: Remove dlopen call. 2010-05-03 17:33:41 +02:00
Maarten Lankhorst
ba7d2cd3ee winealsa.drv: Clean up DriverProc. 2010-04-21 16:12:33 +02:00
Maarten Lankhorst
8f6d268ee4 winealsa.drv: Ignore unused bytes in wave headers. 2010-04-12 11:28:25 +02:00
Alexandre Julliard
bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Jörg Höhle
64b6287e83 winmm: Accept the ancient, smaller MIDIHDR. 2010-02-22 13:18:26 +01:00
Jörg Höhle
bdea146639 winealsa: Do not access WAVEHDR past DriverCallback. 2010-02-22 13:16:32 +01:00
Jörg Höhle
3825abbbb7 winealsa: Ignore failure to notify MIDI clients. 2010-02-03 15:49:41 +01:00
Jörg Höhle
a758c6a981 winmm: The 64KB buffer limit on MIDIHDR buffers applies to streams only. 2010-02-03 15:49:09 +01:00
Paul Vriens
46abd44f0e winealsa.drv: Don't check input parameter twice (Coccinelle). 2010-01-14 09:11:16 -06:00
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
Henri Verbeet
7151cdc8a2 winealsa.drv: Use wine_dbg_sprintf() in a few debug utility functions. 2009-11-30 12:49:41 +01:00
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
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
Maarten Lankhorst
059017f914 winealsa.drv: Remove test for mmap in waveinit.
No longer needed since winealsa has fallbacks now for both.
2009-10-05 13:46:01 +02:00
Maarten Lankhorst
e2faa98c66 winealsa.drv: Add non-mmap support to dscapture. 2009-10-05 13:46:01 +02:00
Maarten Lankhorst
b0e45368d7 winealsa.drv: Small capture fixes.
Deadlock, off-by-one and forgetting to declare that we want MMAP
access, so accelerated mode wouldn't work at all but fail silently.
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
Alexandre Julliard
56af92b073 makefiles: Regenerate the source lists using make_makefiles. 2009-07-03 13:26:38 +02:00
Francois Gouget
5ef481922f Assorted spelling fixes. 2009-04-20 15:25:26 +02:00