Commit Graph

135 Commits

Author SHA1 Message Date
Michael Stefaniuc a87520036f janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Jan Zerebecki 6b37d3d57d winealsa: Fix pausing when the hardware does not support it. 2006-04-03 12:23:31 +02:00
Francois Gouget 4aa6418d51 Assorted spelling fixes. 2006-02-24 21:10:03 +01:00
Robert Reif 273470e8ba winealsa: Add critical section names for debugging. 2006-01-18 14:03:23 +01:00
Alex Villacís Lasso 6d88d5ad5c winealsa: Ensure that copy_format() will not write past end of
referenced WAVEFORMATPCMEX structure.
2006-01-11 12:33:05 +01:00
Eric Pouech fa1d997ddc winealsa: Fixed returned string in capabilities. 2005-12-08 11:58:48 +01:00
Robert Reif ce4fdfdbcd winmm: Allow sound card drivers to be opened more than once. 2005-12-06 10:58:25 +01:00
Dmitry Timoshkov 8140d66c47 Fix all drivers DriverProc to conform to the DRIVERPROC definition. 2005-11-28 20:53:22 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Davin McCall 828086ef93 Avoid getting ahead of dsound mixer when using non-hw device. Also
avoid using internal ALSA call to retrieve hardware play position.
2005-11-05 10:44:10 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +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 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Christian Costa 434fbc5144 Improve midi trace. 2005-09-08 11:02:48 +00:00
Alexandre Julliard 205fc8a324 Make all the DriverProc entry points private. 2005-08-17 12:41:41 +00:00
Alex Villacís Lasso 4d4cd39da8 Remove crackling in DirectSound/ALSA playback with full hardware
acceleration.
2005-08-12 11:17:54 +00:00
Mike McCormack 82434be6a9 gcc 4.0 warning fixes. 2005-07-29 14:15:31 +00:00
Johannes Koch 132af0a13e Fixed pitch bending in the midi driver. 2005-07-27 12:06:51 +00:00
Vitaliy Margolen 00f80c609a Remove all wait_for_poll associated stuff that is no longer needed. 2005-07-27 10:51:36 +00:00
Robert Shearman 2cec4f458a wait_for_poll can go into an infinite loop. Remove it and replace it
with snd_pcm_drain which is more likely to do what the original author
intended.
2005-07-26 10:31:11 +00:00
Mike McCormack bda7ace2e9 Interlocked LONG* gcc warning fixes. 2005-07-13 11:59:15 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
Vitaliy Margolen 645bb9f66b Sync comments with configuration location changes. 2005-06-29 20:14:03 +00:00
Alexandre Julliard aa0b9aac0d Sort entry points alphabetically. 2005-06-22 18:38:23 +00:00
Alexandre Julliard 0ddb8d11be Moved configuration data to HKCU\Software\Wine\Alsa Driver. 2005-06-20 16:03:21 +00:00
Jeremy White ddf70d7ecb Revamp the initialization for Alsa. 2005-06-20 15:34:59 +00:00
Mike McCormack 65ad7da1f7 Fix some declaration and write string warnings. 2005-06-16 10:45:25 +00:00
Alexandre Julliard 2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00:00
Robert Shearman f49339ace3 Remove needless call to Sleep. 2005-06-13 10:02:02 +00:00
Jeremy White b70b78783d Combine WINE_WAVEOUT and WINE_WAVEIN into a single structure. 2005-06-09 09:49:31 +00:00
Dmitry Timoshkov eba47f1dfe Make remaining OLE interface vtables const. 2005-06-06 19:50:35 +00:00
Robert Reif 3433d8bb29 Don't open device if already open.
Don't need opened device to get/set volume.
2005-06-06 10:03:18 +00:00
Robert Reif bbb01ae0d0 Fix a problem where actual sample rate doesn't exactly match
requested.
2005-06-05 19:18:52 +00:00
Robert Reif 72b7071e5a Return proper error code.
Change ERR to WARN for failed requests.
2005-06-05 18:06:35 +00:00
Marcus Meissner 33f4108b69 #undef interface before including alsa headers. 2005-05-29 20:03:05 +00:00
Robert Reif 84e1e9948b Fix volume control. 2005-05-29 20:02:05 +00:00
Mike McCormack b2ba933fcf Make multimedia threads high priority. 2005-04-27 09:39:55 +00:00
Alex Villacís Lasso 569db3c812 Perform one more commit in ALSA non-emulation if there are still
frames to be transmitted.
2005-04-22 19:05:34 +00:00
Paul van Schayck d2c7a6863b Don't stop looking for devices if one can't be opened. 2005-03-31 10:07:02 +00:00
Jerry Jenkins 4a8ce2ae41 Improve winealsa dsound driver by accessing sound driver's buffer
directly in an undocumented way.
2005-03-29 19:48:07 +00:00
Jerry Jenkins 2239b3ae2e Don't mistake frames for bytes. 2005-03-27 17:52:32 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Robert Reif b19aaf1e46 Don't fail when opening a device in direct sound mode. Rather, try
alternate formats first before failing.
2005-03-23 11:58:05 +00:00
Jeremy White cd5ee268b8 Revamp the volume logic to be more self contained, fix a few bugs so
that the volume is correctly read, and is correctly converted to
windows style volume numbers.
2005-03-23 10:22:16 +00:00
Robert Reif f1565973b6 Fix direct sound capabilities to match hardware. 2005-03-21 12:32:48 +00:00
Alexandre Julliard c3b7da47f8 Fixed a missing patch chunk. 2005-03-21 11:50:06 +00:00
Robert Reif 3279b6de6e Clean up handle usage. 2005-03-21 11:21:18 +00:00
Robert Reif 0c9c020d68 Print out message name to make reading traces easier. 2005-03-21 10:27:47 +00:00