Commit Graph

242 Commits

Author SHA1 Message Date
Eric Pouech 8d108a2167 Removed fixed size array to store specific data (now using
mci(Set|Get)DriverData to store specific data).
Make use of default debugtools.h channel.
Added CALLBACK attribute to DriverProc.
1999-07-15 14:43:13 +00:00
Eric Pouech 6ba9d96e61 Changed way of allocation open mci drivers (array => list).
First valid ID for mci devices is now 1 (some progs were testing this
value).
Started implementing mci command table resources.
Handled closing on MCI_ALL.
1999-07-15 14:42:44 +00:00
Eric Pouech 9e1008f137 Removed fixed size array to store specific data (now using
mci(Set|Get)DriverData to store specific data).
Deferred opening of low-level device until play is requested.
1999-07-15 14:42:14 +00:00
Eric Pouech 7d6ee3190e Fixed return value for 'open' command.
Changed way of allocation open mci drivers (array => list).
1999-07-15 14:41:41 +00:00
Eric Pouech 3bfbf3cc39 Removed fixed size array to store specific data (now using
mci(Set|Get)DriverData to store specific data).
Fixed mmio chunk lookup on odd size 'fmt ' chunks.
1999-07-15 14:36:15 +00:00
Eric Pouech 5be17f7bbf Uniformized use of fd to midi device.
Now allocating memory on system heap.
Fixed bug when stopping all notes.
1999-07-15 14:35:37 +00:00
Eric Pouech f87112bacd Cosmetic fixes.
Changed way of allocation open mci drivers (array => list).
Started implementing mci command table resources.
1999-07-15 14:35:03 +00:00
Eric Pouech 5e61c20bc9 No longer calling mm timers callbacks with mm timer crit sect locked. 1999-07-15 14:34:23 +00:00
Howard Abrams 132774804e Added checks for sys/errno.h, sys/signal.h and sys/mman.h. 1999-07-10 13:16:29 +00:00
Alexandre Julliard 359f497e97 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-07-04 16:02:24 +00:00
Patrik Stridvall a4b80d4495 Fixes for compile on non-Intel platforms. 1999-07-04 11:05:57 +00:00
Marcus Meissner 623c0d6f94 some small include fixes, some checks for NULL ptrs,
loader/elf.c: fixed the "lib" insertion
crtdll: added fsopen()
dinput: return that we are attached.
1999-07-03 16:01:42 +00:00
Eric Pouech 8becc699d1 Fixed alignment and position when looking for mmio chunks. 1999-06-26 10:36:29 +00:00
Eric Pouech 9930c39188 No longer using global vars (shared data) for mm timers, but a
specific structure for each attached process.
Fixed alignment and position when looking for mmio chunks.
Fixed WAVE mapper handling in waveGetCaps.
1999-06-26 10:36:00 +00:00
Eric Pouech bba54db04c No longer using global vars (shared data) for mm timers, but a
specific structure for each attached process.
1999-06-26 10:34:57 +00:00
Eric Pouech 62ad0418b4 Fixed null ptr deref introduced in last patch. 1999-06-26 10:30:11 +00:00
Eric Pouech cee1b3a7e2 Better handling of double quotes in MCI string commands. 1999-06-22 19:06:27 +00:00
Eric Pouech 032a1821a8 Fixed memory leak in mci structures. 1999-06-22 19:05:48 +00:00
Marcus Meissner 352c939737 Fixed small memory corruption. 1999-06-13 08:32:27 +00:00
Eric Pouech 0e35ebada0 - simplified internal data
- thread safe access to internal structures
- fixed bug on ONE_SHOT timers
- deferred service thread call until really needed (no longer on WINMM
  or MMSYSTEM attachement)
1999-06-12 08:25:36 +00:00
Ove Kaaven db98ffdd8e Don't ignore application-requested primary buffer flags. 1999-06-12 06:45:56 +00:00
Eric Pouech 350075fd28 Fixed mmioDescend when called with a parent chunk. 1999-06-07 17:45:38 +00:00
Alexandre Julliard 51f5842089 Moved inclusion of winestring.h to winebase.h.
Added Winelib macros for lstrncmp functions.
1999-06-06 17:23:59 +00:00
Eric Pouech 28b3ee73df Added some digital video interface
Fixed a few bugs (device names are no longer converted to upper case,
added call back window, all structures moved to 32 bit...).
1999-06-05 08:50:26 +00:00
Eric Pouech 6671ea97da Added (still incomplete) handling of MCI_BREAK command. 1999-06-05 08:48:01 +00:00
Eric Pouech 0e56104cac removed obsoleted init.c source file 1999-05-24 08:24:52 +00:00
Eric Pouech d54fa78841 moved to new trace interface
now calling time init function from mmsystem and/or winmm entry point
1999-05-24 08:22:48 +00:00
Eric Pouech 06c7f93f68 included DLL init sequence (from obsoleted init.c)
fixed builtin mmsystem.dll init sequence
fixed PlaySound when used with an asynchronous audio driver
fixed midiStream functions for Stop/Pause/Restart functions
fixed error handling in waveOutOpen with QUERY_FORMAT flag
1999-05-24 08:22:23 +00:00
Eric Pouech 0eacb6f8c0 included midi init sequence (from obsoleted init.c)
moved to new trace interface
simplified code with using new configuration constant (HAVE_OSS_MIDI)
fixed erroneous warnings
1999-05-24 08:21:08 +00:00
Eric Pouech 824c3fd1f7 included mci init sequence (from obsoleted init.c)
moved to new trace interface
1999-05-24 08:20:31 +00:00
Eric Pouech 2dd802c9f9 output: better internal thread interface (orthogonalization of states and events)
output: removed use of DSP_IOCTL_GETOSPACE
output: fixed latency in reset messages handling
output: replaced some polling mechanisms with blocking ones
output: fixed get/set volume functions
1999-05-24 08:19:48 +00:00
Eric Pouech 9c75a8ab8a moved to the new debug interface
fixed bugs in pause/play/stop functions
fixed signature of driver entry point
1999-05-24 08:18:53 +00:00
Eric Pouech a2b3001a40 moved to the new debug interface
fixed bugs in pause/play functions
fixed signature of driver entry point
1999-05-24 08:17:54 +00:00
Eric Pouech b343fa80b6 Updated traces. 1999-05-24 08:16:31 +00:00
Paul Quinn 2305f3c06d Microsoft com vtable compatibility workaround for g++. Basically adds
an optional 8 bytes padding to COM objects where the RTTI would be.
1999-05-22 11:41:38 +00:00
Marcus Meissner 1d58651149 Fixed specs for mixerGetDevCaps16/mixerGetID16, fixed mixGetDevCaps16. 1999-05-22 10:42:54 +00:00
Ove Kaaven 1a22964240 Use service thread for "true" multimedia timers.
Removed implementation of fake multimedia timers.
Set minimum resolution to 10 ms (the timing resolution of the Linux
kernel). Fixed a couple of flaws.
1999-05-22 10:32:43 +00:00
Jukka Kangas f7f9508b13 When opening the file we don't need MMIO_EXCLUSIVE
rights. MMIO_DENYWRITE should be sufficient.
1999-05-17 15:37:47 +00:00
Patrik Stridvall 896889f317 ANSI C fixes. 1999-05-08 12:50:36 +00:00
Kevin Holbrook 9173f04ba9 Fixed implicit type warning. 1999-05-08 12:36:29 +00:00
Ulrich Weigand 73496798e0 Added PlaySound16, sndPlaySound16. 1999-05-04 15:29:01 +00:00
Eric Pouech b068320abd cleaned up debug channels to use default one (mmsys)
more conversions from mixerXXXW and mixerXXXX16 to mixerXXXXA
fixed callback bug in midiStream functions
fixed compilation bug with egcs
changed to the new debug channel interface
1999-05-03 09:44:26 +00:00
Eric Pouech 1d1a6bb4a7 small range fixes for OSS driver
changed to the new debug channel interface
1999-05-03 09:43:30 +00:00
Eric Pouech 54e4ba048a first (working) shot at OSS mixer low level interface
changed to the new debug channel interface
1999-05-03 09:26:48 +00:00
Alexandre Julliard 06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Michael Veksler 92ae219e04 Removed redundant include of winbase.h from winuser16.h.
Moved types from winbase.h to winuser16.h .
1999-05-02 11:39:09 +00:00
Eric Pouech 281c927317 - got rid of all the internal MM tweaks to load builtin MCI
drivers. They are all seen as drivers, loaded as DLLs and standard
  module loadorder is used to know which type to use (builtin vs
  native).
- first full working implementation of mmThread??? functions (to
  support gracefully native MCI drivers).
- support of mmShowMMCPLPropertySheet.
- fix of some heap validate bugs (thanks to Ulrich for reporting them).
1999-05-02 10:21:49 +00:00
Marcus Meissner 89b1fc98ff MCI_ANIM_OPEN_PARMSW should be LPCWSTR, MCI_DefYieldProc should be WINAPI. 1999-05-01 10:39:28 +00:00
Ove Kaaven 819791ba0a Don't malloc/free for every mixing operation, use the same buffer over
instead...
1999-04-24 11:53:38 +00:00
Patrik Stridvall 0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00