Commit Graph

203 Commits

Author SHA1 Message Date
James Hatheway cf459ac76d PlaySoundA should return TRUE when it stops playing sound. 2001-04-25 19:51:32 +00:00
James Hatheway 8290c3e1e7 Make sure to return our variable with the correct return value. 2001-04-20 18:28:38 +00:00
Eric Pouech 1b9e33df0c Fixed callback parameters (bogus hWave); added acm conversion for
waveIn.
2001-04-13 22:28:06 +00:00
Eric Pouech b24ed627eb Allow MCI_SET to change waveFormat for recording.
Fixed buffer handling on recording end.
Fixed size of recorded data in mmio file.
2001-04-13 22:27:11 +00:00
Eric Pouech 7a3ec5d705 Fixed some buffers issue in recording.
Zeroed unnecessary second parameter for WIM_DATA notification.
2001-04-13 22:26:51 +00:00
James Hatheway d73c906328 - MCI_SAVE should overwrite its destination file.
- widClose() is sometimes failing... MCI (in WAVE_mciRecordCallback)
  shouldn't queue up buffers if it knows we are no longer recording.
2001-03-23 23:39:28 +00:00
Jeff Garzik 3ea0c073f8 Warning fixes. 2001-03-21 20:31:26 +00:00
Ove Kaaven e746f665ef Show an error if small enough fragment sizes couldn't be set.
Force a complete close/reopen of the sound device if pause is
requested in DirectSound mode (many drivers require this).
2001-03-21 03:37:33 +00:00
Francois Gouget 3d0589ae7d Fixed spelling/typos in comments. 2001-03-10 19:15:49 +00:00
Alexandre Julliard 566a52ad8c Changed isolated for loops to while loops (based on a patch by Andreas
Mohr).
2001-03-05 19:34:17 +00:00
Andreas Mohr 8c2f4b18fa Some more message cleanups. 2001-03-03 00:22:50 +00:00
Eric Pouech 26146cdd67 Started the real implementation of mciavi. 2001-02-14 21:49:22 +00:00
Andreas Mohr dacdb9c4c6 Cosmetics. 2001-02-14 00:29:16 +00:00
Francois Gouget b87a83866f Change the callback declarations to a safer format. 2001-02-12 03:51:04 +00:00
Andreas Mohr 14150c1ad5 Make MMIO_Open work with NULL filename again. 2001-02-12 03:41:13 +00:00
Andreas Mohr 1ea771c218 Don't touch WAVEHDRs dwLoops variable. 2001-02-12 01:24:18 +00:00
Eric Pouech 5d1892358b Fixed some mci string parsing issues.
Added more mappings 32ATo16.
2001-01-28 23:11:27 +00:00
Eric Pouech 2251fbc3c4 Simplified memory allocation for asynchronous MCI message handling. 2001-01-28 23:10:52 +00:00
Eric Pouech 15a3d774b0 Delay importing user32 (only used for configuration). 2001-01-28 23:10:22 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Andreas Mohr c9cf70d448 Some more cleanups. 2001-01-26 20:40:50 +00:00
Patrik Stridvall d5f824b482 Fixed some issues found by winapi_check. 2001-01-25 22:23:08 +00:00
Huw D M Davies 53cb7cecc5 Fix off by one error in buffer length check. 2001-01-18 20:29:41 +00:00
Alexandre Julliard 0618746265 Cleaned up dll startup routines now that we have separate address
spaces.
2001-01-17 22:03:18 +00:00
Andreas Mohr 18a9d7417d Cosmetics. 2001-01-17 21:52:42 +00:00
Alexandre Julliard d8e9a09d9b Removed unnecessary headers. 2001-01-15 20:22:30 +00:00
Alexandre Julliard 728702e6ef winmm.dll can now be properly separated. 2001-01-13 01:01:00 +00:00
Ove Kaaven 0a01fbdacb Remove multimedia timers from the service thread, use a separate thread
instead.
2001-01-13 00:27:50 +00:00
Huw D M Davies c18391a003 Actually call CDROM_Audio_GetTracksInfo when retrieving
MCI_CDA_STATUS_TRACK_TYPE.
WINE_CDA_OPEN maps to MCIERR_HARDWARE.
2001-01-09 20:51:59 +00:00
François Gouget c583b68565 We must cast the return value of GetProcAddress. 2001-01-05 03:44:40 +00:00
Eric Pouech ad250aac34 Now using manifest constant instead of raw values for all the
DRV_QUERY??? values.
2001-01-04 19:53:51 +00:00
Marcus Meissner f7e09367bf Set fragments for wave input to 7 x 1024 byte. 2001-01-04 19:28:14 +00:00
Eric Pouech 40e9217523 Fixed loading of 16 bit drivers.
Better support for native mappers.
2001-01-04 19:27:49 +00:00
Eric Pouech 0478059b46 Removed duplicate field in internal structure.
Silenced warning for MCI_CONFIGURE message.
2001-01-03 21:36:56 +00:00
Eric Pouech 8bdba1ba6c Added support for the DRVM_MAPPER_STATUS message. 2001-01-03 21:35:00 +00:00
Eric Pouech 95064364a8 Replaced pointers to external functions by a DLL import. 2001-01-03 21:33:17 +00:00
Marcus Meissner 7a01b38321 Read 4 bytes to wake up GETISPACE. 2001-01-02 20:32:33 +00:00
Ulrich Weigand d34bc744f8 Compile fix if HAVE_OSS is not defined. 2000-12-27 18:43:30 +00:00
Andreas Mohr a6d83ebae1 - clarify many error messages
- add data corruption warning to README file
2000-12-27 04:02:46 +00:00
Eric Pouech 4d24e0f5a6 Replaced calls to KERNEL.Yield16 by calls to KERNEL32.K32WOWYield from
outside libkernel.so.
2000-12-22 23:25:47 +00:00
Alexandre Julliard 5801723b50 Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16. 2000-12-22 01:09:26 +00:00
Marcus Meissner eba8cee584 Handle errors for IDsDriver_GetPosition.
Report DSERR_UNINITIALIZED on non-opened WineOSS audio device.
2000-12-21 20:49:26 +00:00
Eric Pouech 247a94f688 Cleaned up the code a bit. 2000-12-21 20:21:53 +00:00
Ove Kaaven 96f9a8d609 Enable the DirectSound HAL for sound drivers that do not report
DSP_CAP_REALTIME. Set precision of these to 256 bytes (about 3ms).
2000-12-21 20:20:34 +00:00
Eric Pouech e93588b7a4 Rewrote the allocation of MM driver descriptors. 2000-12-21 20:17:23 +00:00
François Gouget 44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Eric Pouech aaa78f9cda Fixed loading of 16 bit MCI drivers (for command tables).
Fixed alias handling in mciSendString.
2000-12-16 20:17:04 +00:00
Alexandre Julliard db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Eric Pouech 66b4468bd4 Split driver functions into USER (16 bit part) and WINMM (32 bit part).
Fixed some bugs in 16 bit part as well.
Now correctly parsing the system.ini extra parameters.
2000-12-13 02:07:40 +00:00