Commit Graph

97 Commits

Author SHA1 Message Date
Andrew Eikum 04ab858fef winmm: Only start the devices thread when necessary. 2012-01-16 19:32:50 +01:00
Andrew Eikum f6890ef0e2 winmm: Determine the driver from MMDevAPI.
This uses a half-implemented, Wine-specific IMMDevice object to extract
the driver name.
2011-09-01 18:06:37 +02:00
Andrew Eikum 3b16f46794 wineesd.drv: Remove unused WinMM driver. 2011-07-15 12:11:05 +02:00
Jörg Höhle e3869300b9 winmm: WAVE/MIDI_MAPPER (-1) is a 32 bit UINT, not 16. 2010-05-19 11:17:26 +02:00
Gerald Pfeifer 2af5528a0c winmm: Remove variable devID which is not really used from MMDRV_Message. 2010-04-26 07:00:32 -05:00
Maarten Lankhorst 7d1199de72 winmm: Clean up mapper code. 2010-04-01 18:12:41 +02:00
Maarten Lankhorst d368aefdbe winmm: Clean up MMDRV_Init. 2010-04-01 18:12:40 +02:00
Maarten Lankhorst 3a96c85cfb winmm: Remove some dead code. 2010-04-01 18:12:40 +02:00
Maarten Lankhorst 4f4dd855c4 winmm: Defer loading drivers until they are requested. 2010-04-01 18:12:40 +02:00
Jörg Höhle ebd55d9890 winmm: The MIDI MAPPER is not available with MIDI IN. 2010-02-01 14:11:04 +01:00
Eric Pouech ca1a7c6bad winmm: Get rid of 16bit driver support. 2009-10-23 12:14:58 +02:00
Eric Pouech c997bd8460 winmm: Get rid to 16=>32 mappers in winmm (they're now in mmsystem). 2009-10-23 12:14:28 +02:00
Eric Pouech 69c963c3d1 winmm: Get rid of the bFrom32 parameter in MMDRV_Alloc and MMDRV_Message. 2009-10-23 12:14:22 +02:00
Alexandre Julliard 8f813fd4e4 winmm: Fix some Win64 pointer truncations issues. 2009-05-20 17:52:46 +02:00
Andrew Talbot adb5eb9c11 winmm: Sign-compare warning fix. 2008-12-15 13:25:38 +01:00
Maarten Lankhorst 2233f1eb50 winmm: Some 64-bit pointer fixes. 2008-11-26 14:15:39 +01:00
Maarten Lankhorst 72be44ee7d winmm: Fix valgrind warnings on exit. 2008-05-22 23:39:11 +02:00
Francois Gouget 633ee950a1 Assorted spelling fixes. 2008-05-07 12:07:11 +02:00
Alexandre Julliard 9d3dcae1fb winmm: Load only one sound driver at a time. 2008-01-16 19:15:25 +01:00
Michael Stefaniuc cc2773008e winmm: Do not dump the version info when loading drivers. 2007-06-22 12:18:30 +02:00
Andrew Talbot 5f8d15027e winmm: Exclude unused headers. 2007-05-29 11:53:57 +02:00
Eric Pouech d1737cc24b winmm: Plug a memory leak. 2006-11-09 12:24:54 +01:00
Eric Pouech 2f540b8602 winmm: Remove WINE_NO_LONG_AS_INT. 2006-11-09 11:44:30 +01:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard be22a96847 Include wine/port.h in files that use exceptions. 2006-02-07 16:31:21 +01:00
Alexandre Julliard ae964ac801 Take advantage of the __EXCEPT_PAGE_FAULT macro. 2005-12-16 17:17:57 +01:00
Alexandre Julliard 6f163b56b5 Avoid 'clobbered by longjmp' warnings. 2005-09-08 18:59:52 +00:00
Eric Pouech 00a4a989b8 Get rid of HeapValidate as it's not properly handled by some memory
management tools (Microquill for example).
2005-07-15 09:56:17 +00:00
Alexandre Julliard da4a35fdb0 Get rid of the WaveMapper and MidiMapper options, the defaults should
be good enough in all cases.
2005-06-27 19:51:41 +00:00
Mike McCormack 9e5b4d4019 Make a function static. 2005-06-22 11:59:43 +00:00
Alexandre Julliard 1cfdb0fd9d Moved the audio driver configuration to HKCU\Software\Wine\Drivers and
changed it a bit to follow the model of the graphics driver.
2005-06-20 18:35:57 +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
Jeremy White 40df53aae2 Do not fallback to defaults if a driver, mapper, or midi is specified
in the registry; consolidate MMDRV_Init() into a single function.
2005-03-17 10:25:25 +00:00
Robert Reif cf4d0d9707 Fix memory leak when there are too many drivers. 2005-03-15 15:38:48 +00:00
Robert Reif 7b53f635f7 Return flag for DRVM_MAPPER_PREFERRED_GET. 2004-12-17 19:04:28 +00:00
Filip Navara 155c8acfbd - Check the return value from *_GETNUMDEVS message as per KB90562.
- Fix typo in MMDRV_InstallMap.
2004-12-01 15:32:19 +00:00
Alexandre Julliard 4521ea6e76 Revert broken change in previous patch. 2004-09-22 04:00:14 +00:00
Hans Leidekker 719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Robert Reif 7bf4eee7ad Remove wine specific DRV_QUERYDSOUNDGUID message and calculate it in
dsound.dll (like in 2k/xp).
2004-08-20 20:01:31 +00:00
Robert Reif fd758586d1 Added some trace and debug printing. 2004-06-01 19:40:48 +00:00
Robert Reif 41c6b5b5b9 Fixed a problem were a trace accesses a data member that may be
outside of the actual data structure passed in.
Added some more debug traces.
2004-05-27 20:05:08 +00:00
Francois Gouget bf75c5c163 Taking into account wavemap and midimap there can be up to 8 output
drivers. So increase the size of the MMDrvs array accordingly.
Skip already loaded drivers before complaining (asserting) that they
don't fit in the MMDrvs array.
2004-05-05 01:00:54 +00:00
Dmitry Timoshkov 9741589bdf Fix many function prototypes and data types according to Platform SDK
definitions.
2003-12-31 23:49:45 +00:00
Eric Pouech cd7328672e Move usage of 16 bit specific functions (MapSL) in 16 bit code only. 2003-12-01 22:38:19 +00:00
Eric Pouech b1a2d883fc Removed some more dependencies on wine 16-bit specific entities. 2003-11-09 01:19:58 +00:00
Robert Reif b4e9ef02c2 Clean up *GetDevCaps to check for valid pointer and only copy proper
amount of data.
2003-10-30 23:07:23 +00:00
Robert Reif be4281522d Added support for getting the wave device name. 2003-10-28 00:15:16 +00:00
Robert Reif 80a7638006 Fix MMDRV_PhysicalFeatures to handle both 16 and 32 bit pointers
properly.
2003-10-22 03:04:07 +00:00
Oleg Prokhorov cf8b84c19f Another portion of HeapReAlloc fixes. 2003-10-15 21:01:05 +00:00
Daniel Marmier 0348649853 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-06 21:03:32 +00:00