Commit Graph

28 Commits

Author SHA1 Message Date
Andy Norris 254b8f85b5 winealsa: Add support for alsa cards without a PCM mixer (only Line). 2011-03-08 16:55:10 +01:00
Marcus Meissner 4b5641add1 winealsa.drv: Re-add capcontrols initialization. 2010-12-27 11:47:21 +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
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 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
Henri Verbeet 7151cdc8a2 winealsa.drv: Use wine_dbg_sprintf() in a few debug utility functions. 2009-11-30 12:49:41 +01:00
Michael Stefaniuc aea94788e4 winealsa.drv: Remove superfluous pointer casts. 2009-01-23 13:14:09 +01:00
Alexandre Julliard fdb682811d winealsa: Fix some unsigned comparison < 0 warnings. 2008-07-11 15:29:41 +02:00
Zac Brown 7bd0c43f03 winealsa.drv: Initialize a variable in MIX_close. 2008-06-26 21:07:11 +02:00
Dan Kegel 3c070b22ef winealsa.drv: Don't return garbage if can't find active channel. 2008-01-14 13:11:25 +01:00
Maarten Lankhorst 7034b92d90 winealsa: Add special case for microphone source in mixer.
Some microphones don't have a capture control, but a playback control
instead. So use the playback volume, but still register it as capture
volume.
2007-12-24 21:04:57 +01:00
Maarten Lankhorst 483e3be2e6 winealsa: Add 'Front Mic' as alias for microphone. 2007-12-14 12:26:41 +01:00
Maarten Lankhorst affd447db0 winealsa: Don't require a cswitch control for capture. 2007-12-13 14:30:40 +01:00
Maarten Lankhorst f75600dd1d winealsa: Add control 'Digital' as alias for microphone. 2007-12-13 14:30:40 +01:00
Alexandre Julliard 9fce052c54 winealsa.drv: Avoid the alsa alloca macros that cause compiler warnings. 2007-10-29 12:07:52 +01:00
Michael Stefaniuc ca71287572 winealsa.drv: Leave the CriticalSection before destroying it. Found by Smatch. 2007-10-23 18:04:27 +02:00
Maarten Lankhorst 4a2424d6a3 winealsa: Report card name in volume control fixme. 2007-08-20 22:21:59 +02:00
Vitaly Budovski e0940226cd winealsa: Fix incorrect callback private value. 2007-06-18 12:15:37 +02:00
Andrew Talbot bf76e754e5 winealsa.drv: Exclude unused headers. 2007-05-22 12:02:50 +02:00
Maarten Lankhorst 3006b9335c winealsa: Improve sound mixer detection.
The previous mixer code depended on the existence of 1 'Master', and 1
'Capture' control. According to some feedback in wine-devel this is not
always the case, the new code will try the following order for loading:
Destination waveout: Master, Headphone PCM
Destination wavein: Capture
2007-05-03 14:23:09 +02:00
Francois Gouget 5a8fc34033 Assorted spelling fixes. 2007-04-30 12:35:11 +02:00
Michael Stefaniuc 34b0161d02 winealsa: Do not check for non-NULL before HeapFree'ing a variable as the check is redundant. 2007-04-25 12:26:14 +02:00
Maarten Lankhorst 02c416a187 winealsa: Implement Get/SetControlDetails in mixer. 2007-04-24 13:48:59 +02:00
Maarten Lankhorst 143f10a4d0 winealsa: Implement GetLineControls in mixer. 2007-04-24 13:44:55 +02:00
Maarten Lankhorst 1843e71ef1 winealsa: Implement mixer controls, and add GetLineInfo. 2007-04-24 13:43:29 +02:00
Maarten Lankhorst f7082bbbc0 winealsa: Implement opening/closing and caps of device. 2007-04-24 13:42:48 +02:00
Maarten Lankhorst f60dcd2dee winealsa: Introduce mixer code. 2007-04-24 13:42:17 +02:00