Commit Graph

31 Commits

Author SHA1 Message Date
Alex Villacís Lasso e3851bc7f7 msacm: acmDriverAdd[AW] support for ACM_DRIVERADDF_NOTIFYHWND.
Broadcast notifications are fleshed out and are now fully functional.
2006-01-18 12:10:59 +01:00
Alex Villacís Lasso 72f7170e06 MSACM: acmDriverAddW skeleton, implementation of ACM_DRIVERADDF_NAME.
- Rework acmDriverAddA to call acmDriverAddW.
- Implement stub for acmDriverAddW with switch for the 3 known cases
  of driver add.
- Implementation for case ACM_DRIVERADDF_NAME, which loads driver name
  & alias from registry (similar to msacm32 load).
2006-01-18 12:07:42 +01:00
Alex Villacís Lasso cb37c43d78 msacm: Implement acmDriverPriority with driver priority/enabled saving.
Foundation for notification broadcasts with support for deferred
notification.
2006-01-18 12:06:56 +01:00
Alex Villacís Lasso 8cfa507f31 msacm: Fix incorrect linked list traversing leading to memory/driver
instance leak.
2006-01-16 21:30:52 +01:00
Alex Villacís Lasso 9a95aa7da2 msacm: Preserve value of cbStruct in acmDriverDetails.
Ensure that the cbStruct member of the ACMDRIVERDETAILS[AW] struct is
filled with a valid value before returning.
Fill the cbStruct member of the ACMDRIVERDETAILS[AW] before sending a
ACMDM_DRIVER_DETAILS message to an installed codec that might be a
native library: native ACM codecs expect cbStruct to be valid before
filling the rest of the struct with any data.
2005-12-20 11:48:01 +01: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
Robert Reif cd072ca269 Added trace and debug printing info. 2004-06-01 19:41:01 +00:00
Robert Reif 445fc35e20 Better function parameter checking. 2004-05-03 20:09:42 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Eric Pouech 5061d3a21d - renamed winmm.OpenDriverW into winmm.OpenDriver
- replaced all inter-DLL calls (msacm and msvideo) to OpenDriverA with
  OpenDriver (unicode form)
- as a consequence, driver name handling in msacm is now mostly
  unicode
- moved UserYield16 and UnMapLS call out of the 32bit part of winmm
2003-07-02 00:40:14 +00:00
Michael Stefaniuc 70e9a64c06 Compile the msacm dll with STRICT defined. 2002-10-22 00:46:23 +00:00
Michael Stefaniuc ec7d7b72b2 - Convert HDRVR to a void*.
- Fix declaration of DriverCallback().
2002-08-09 01:02:25 +00:00
Andreas Mohr 7df2d9f187 Misc spelling fixes. 2002-07-24 19:02:50 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Steven Edwards fb2a70463e Fixed snprintf warnings. 2002-05-16 18:31:27 +00:00
Eric Pouech 9dafca8ee0 Moved session instance loading to winmm. 2002-05-11 22:58:23 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Travis Michielsen 1160c58c62 Test bits with '&' instead of '&&'. 2001-11-09 20:05:06 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Dmitry Timoshkov 5e42134225 Protect against a driver misconfiguration. 2001-06-13 19:35:28 +00:00
Patrik Stridvall d9b9c4c496 Documentation ordinal fixes (using winapi_fixup). 2001-06-11 20:14:43 +00:00
Eric Pouech f051db39ec Mimic more closely Windows' behavior (a MSACM driver is always opened
twice: first time for info gathering, subsequent openings for
conversions).
Added format suggestion for PCM.
Cleaned up internal structures.
2001-05-22 19:21:16 +00:00
Eric Pouech faa359492b Added cache for drivers information.
Fixed a few bugs (memory handling, version info...)
Enhanced validity checks.
2001-04-23 18:14:41 +00:00
Eric Pouech 3c03f75c02 Fixed opening of some drivers. 2001-04-13 22:28:19 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Eric Pouech 140d8cd909 Added PCM converter internal driver.
A few driver handling fixes.
2000-10-12 20:46:49 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Eric Pouech b8ba84590b Implemented most of '*Format*' API.
Improved internal object and messages handling.
Started some '*Filter*' functions.
Fixed standard headers for Winelib.
Fixed acmMetrics.
2000-08-26 04:33:00 +00:00
Alexandre Julliard 691171b8e6 Small dll interfaces cleanups. 2000-08-08 20:49:16 +00:00
Eric Pouech 731e9f5309 - removed (now obsolete) driver.h file (it's content is now in mmsystem.h)
- upgraded vfw.h content
2000-07-26 18:07:04 +00:00
Alexandre Julliard 37b51f4acc Merged msacm and msacm32 dlls.
Merged win87em and windebug into kernel32.dll.
2000-07-24 18:30:00 +00:00