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
Andreas Mohr
1af53cbb2a
- README update
...
- add offsets to ASPI struct defines
- spelling
2000-12-09 03:15:32 +00:00
Eric Pouech
816845026c
Fixed bugs when tray was open.
2000-12-02 23:42:42 +00:00
Patrik Stridvall
2b3aa616e8
Added/modified documentation for function arguments.
2000-12-01 23:58:28 +00:00
Alexandre Julliard
ef57e18f99
Removed some unnecessary includes.
2000-12-01 21:32:55 +00:00
Alexandre Julliard
5ce2329a95
Finished separation of advapi32.
2000-11-30 20:31:41 +00:00
David Elliott
ea186796eb
Remove libXXXX.so.1.0 lines from .cvsignore files.
2000-11-30 19:57:34 +00:00
Alexandre Julliard
49556bcbf5
Cleaned up some more dependencies on Wine internal functions.
2000-11-29 18:38:24 +00:00
Dimitrie O. Paun
ef7a5c1b8c
Fixed a few compilation warnings.
2000-11-29 00:03:27 +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
Dimitrie O. Paun
529da54394
Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ;
2000-11-27 23:54:25 +00:00
Marcus Meissner
c7dd25420e
WARN() about missing /dev/sequencer, it's too confusing for newbies.
2000-11-27 23:01:10 +00:00
Alexandre Julliard
62469b21b6
Fixed SEGPTR_GET usage.
2000-11-27 22:02:08 +00:00
Alexandre Julliard
ac7efef3b5
Changed GetProcAddress16 and 16-bit resource functions to take normal
...
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Alexandre Julliard
5b971f009a
Moved wsprintf functions to dlls/user.
2000-11-26 22:39:50 +00:00
Dimitrie O. Paun
5298812be1
Make sure all files using config.h constants actually #include "config.h"
2000-11-26 04:04:21 +00:00
Stephane Lussier
cb2abbc2d3
- Read all the fragments available, not only one fragment before
...
going back to sleep.
- Use SNDCTL_DSP_SETTRIGGER ioctl command to trigger the start the
recording. If this command is not supported by the device, read 4
bytes in the sound device instead.
2000-11-25 02:10:53 +00:00
Alexandre Julliard
c95b1aa37f
Avoid linking with ntdll where possible.
2000-11-16 04:15:08 +00:00
Alexandre Julliard
ab687979fd
Moved standard syslevel APIs declaration to winbase.h.
...
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Alexandre Julliard
914406f854
Moved LDT handling to libwine.so. Changed the interface to use the
...
exported LDT_ENTRY structure.
2000-11-14 01:54:49 +00:00
Alexandre Julliard
8c540c657e
Replaced a few internal functions by exported ones.
2000-11-13 04:16:05 +00:00
Alexandre Julliard
27939f00fd
Start using import tables for dlls that can already support it.
2000-11-12 03:50:10 +00:00
Alexandre Julliard
7f12be8d80
Removed SUBDIRS in winmm Makefile.
2000-11-06 20:26:43 +00:00
Alexandre Julliard
eb58e1d597
Declare debug channels in all dlls that need them; added imports of
...
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Peter Ivanyi
1da3befe54
Added/upgraded Slovak messages, and Slovak and Czech keyboard layout.
2000-10-31 01:19:11 +00:00
Dimitrie O. Paun
334a42f521
Fixed a few compilation warnings
2000-10-29 18:07:04 +00:00
Andreas Mohr
4ff660838f
Transform device open error TRACE()s into WARN(); better error msgs.
2000-10-25 20:29:39 +00:00
Francois Jacques
0282825f63
- All audio device handles are initialized to -1 and set to -1 when closed.
...
- WINE_WM_HEADER event should *NOT* make the recording thread start. The
thread should only start through waveInStart. The application calling
waveInAddBuffer might not be in a state to provide another buffer in
a period of time short enough to avoid buffer underrun in widRecorder
thread.
- widRecorder - improved robustness of widRecorder to avoid some data
loss that occured when not reading one full fragment from the OSS
audio driver.
2000-10-24 02:20:01 +00:00
Alexandre Julliard
21ec006fc1
Build Win32 resources as .res files and dump them into the .spec.c file.
2000-10-23 21:39:39 +00:00
Andreas Mohr
588ee35618
Always open/close the CD-ROM device for every Windows API CD-ROM
...
access.
2000-10-23 00:40:23 +00:00
Andreas Mohr
c472708f69
Added sleep time calculation for the wodPlayer thread.
...
Changed the wodPlayer thread messaging to use its own fast 30 entries
ring buffer list.
2000-10-22 23:43:15 +00:00
Francois Jacques
3732965c15
Added asynchronous recording in MCI layer.
2000-10-19 22:36:54 +00:00
Andreas Mohr
d747b76cb6
Sequencer error message fix.
2000-10-19 22:31:37 +00:00
Francois Jacques
11805e0a4b
Should test unixdev against -1 (see wodOpen/widOpen).
...
widRecorder: bytesRead is now tested against (DWORD) -1.
2000-10-19 20:26:04 +00:00
Andreas Mohr
1563abe8ec
- stupid spelling fixes
...
- some more loadorder array work
2000-10-13 20:26:52 +00:00
Chris Morgan
3b37e7ae6a
Indicate that the MIDI error message only affects programs that need MIDI.
2000-10-13 20:21:27 +00:00
Andreas Mohr
aa7971ba24
MCICDA didn't open/close the door when calling the command without
...
valid parameter block (i.e. == NULL).
2000-10-12 20:40:56 +00:00
Marcus Meissner
0d30481a31
Suppress junk noise at startup of DirectSound on SB Live! and ES 1371.
2000-10-12 20:37:51 +00:00
Francois Jacques
732cf4dc9a
Bug fixes in mmio, related to buffering in record mode.
2000-10-02 22:15:47 +00:00
Francois Jacques
5767f63026
Use waveaudio, not waveform.
2000-09-29 00:24:11 +00:00
Francois Gouget
fcc199c78a
Fix the return type of mixerMessage16.
2000-09-29 00:23:04 +00:00
Eric Pouech
96d920fd25
Store a copy of MIDIOPENDESC information instead of pointer.
2000-09-27 22:28:51 +00:00
Eric Pouech
13f3e8465d
Unlock win16 crst while thunking up to 32 bit dll.
2000-09-27 22:28:31 +00:00
James Abbatiello
aad78b91f7
MCI_STATUS_LENGTH on Windows returns one frame less than the total
...
track length for the last track on a CD. This also affects queries
for the total length of the CD.
2000-09-27 01:18:08 +00:00
Alexandre Julliard
ab170a9c84
Fixed a few non portable zero-size array declarations.
2000-09-27 00:25:24 +00:00
Alexandre Julliard
83f52d11c1
Moved all Win16 definitions out of the standard Windows headers.
2000-09-26 22:20:14 +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
29001b3131
Fixed reentrancy issues in play/stop operations.
2000-09-22 20:56:45 +00:00
Huw D M Davies
044e082cf5
Set close on exec() flag at times when we leave /dev/dsp and
...
/dev/sequencer open.
2000-09-22 20:54:51 +00:00
Andreas Mohr
2951862be2
Fixed verbose CD-ROM serial number warnings and some spelling errors.
2000-08-29 23:56:20 +00:00
Andreas Mohr
349655636b
- made the MIDI sequencer error message much better for confused users
...
to be found on #WineHQ
- use strerror instead of errno at important places
- got rid of HAVE_STRERROR macro
- removed some #include:s (hopefully I didn't break anything)
2000-08-26 20:31:48 +00:00
Eric Pouech
c70082fb22
Fixed recording format settings (16 bit was broken) and reentrancy
...
issues.
2000-08-25 21:33:45 +00:00
Ed Snow
909b677e83
Clean out the hack on BASS/TREBLE and suppress them in the mask as was
...
recommended oh so long ago.
2000-08-18 23:42:43 +00:00
Alexandre Julliard
198746d812
Replaced global Callbacks structure by appropriate glue code
...
generation. Removed a few unused entries in the Callout structure.
2000-08-14 14:29:22 +00:00
Alexandre Julliard
691171b8e6
Small dll interfaces cleanups.
2000-08-08 20:49:16 +00:00
Alexandre Julliard
e514103971
Added imports of kernel32.dll where necessary.
2000-08-06 03:47:29 +00:00
Alexandre Julliard
6c9d83aa4c
Added imports of user32/gdi32/kernel32 wherever necessary.
2000-08-03 00:04:24 +00:00
Alexandre Julliard
76d3671bee
Added 'owner' field to 16-bit spec files to specify the name of the
...
32-bit dll that contains it.
2000-07-28 00:07:18 +00:00
Alexandre Julliard
a3502ccf93
Merged setupx.dll into setupapi.dll.
...
Merged sound.dll into winmm.dll.
Merged stress.dll into kernel32.dll.
2000-07-26 19:51:37 +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
Eric Pouech
eef1fb8f41
Fixed first seek on MEM mmio files.
2000-07-23 13:35:39 +00:00
Patrik Stridvall
6314ad696b
Fixed some warnings.
2000-07-15 21:33:38 +00:00
Ed Snow
276495e3af
Fixes unmuting when unmuted.
...
Unifies scale reported with scale used for volume control.
Hack for Bass/Treble until better fix is complete.
2000-07-15 21:28:51 +00:00
Bradley Baetz
d74e446c7c
Handle mciSendString("open <mcitype>",...)
2000-07-08 12:43:09 +00:00
Eric Pouech
737db5fce2
Several fixes spotted by Corel (Jean-Claude Batista & Sean Langley).
...
Seeking from SEEK_END was wrong.
Seeking on empty buffer was wrong.
Some installed ioProcs had uninitialized fields.
A few more bits for rename functions.
2000-06-25 12:50:11 +00:00
Eric Pouech
b4905d2241
Cleaned up loading/init code in OSS.
...
Cleaned up getDevCaps in midi part.
Implemented asynchronous waveIn recording using a thread.
2000-06-24 17:54:43 +00:00
Ove Kaaven
fd92ebdb4c
Implemented the DirectSound HAL in winmm's wineoss (Open Sound System)
...
driver, and winmm's interface for DirectSound to access it. It
requires the ability to mmap /dev/dsp, to trigger playback, and
sample-accurate position readouts. (If the soundcard's device driver
does not report these capabilities, wineoss will report the HAL as
unavailable and force DirectSound to use its HEL instead.)
2000-06-24 12:55:33 +00:00
Gerald Pfeifer
e6ba02e57a
Fixed format strings.
2000-06-20 20:34:41 +00:00
Alexandre Julliard
6953d6756c
For dlls, derive SPEC_SRCS from MODULE and ALTNAMES.
2000-06-20 20:24:14 +00:00
Ove Kaaven
df0dd9ab49
Fixed WHDR_DONE race condition.
2000-06-20 20:18:09 +00:00
Eric Pouech
dd15b2fc4b
Fixed port status query.
2000-06-18 17:22:13 +00:00
Alexandre Julliard
01e819ad9f
Simplified wrc flags handling.
2000-06-08 04:52:11 +00:00
Andreas Mohr
2e011a5243
Lots of spelling fixes that accumulated in my tree again, made several
...
error msgs more verbose, doc updates.
2000-06-01 23:28:25 +00:00
Andreas Mohr
7aa70d3397
More verbose errors.
2000-05-14 23:45:03 +00:00
Eric Pouech
3de3cad9ce
Fixed division by zero.
2000-05-11 21:42:52 +00:00
Alexandre Julliard
8c8237b756
Specify the service thread timers in ms instead of us.
2000-05-10 04:43:32 +00:00
Eric Pouech
a1894523b4
Changed WAVEHDR notification heuristic.
...
Added preliminary support for loops in WAVEHDRs.
Fixed issues when mixing open and getCaps calls.
2000-05-09 22:35:47 +00:00
Eric Pouech
d34abdd158
Fixed bug when file doesn't exist in MCI_OPEN handling.
...
Reduced time spent with crit sect locked.
2000-04-29 14:19:02 +00:00
Alexandre Julliard
84eb8334da
Added some missing import directives.
2000-04-19 16:54:02 +00:00
Patrik Stridvall
f0deb8a17e
Fixed some issues reported by winapi_check.
2000-04-15 20:44:21 +00:00
Noomen Hamza
50b5c29e26
Fixed other bugs within MMIO implementation. Now, it's possible to
...
copy/cut from PhotoPaint and paste to CorelDraw.
2000-04-11 19:36:13 +00:00
Alexandre Julliard
c53ceba478
Improved support for Makefiles that need to recurse in subdirectories.
2000-04-09 18:19:59 +00:00
Patrik Stridvall
54fe8380a1
Fixed some issues reported by winapi_check.
2000-04-06 20:21:16 +00:00
Noomen Hamza
3138738ad5
Fixed two small bugs within MMIO_InstallIOProc and MMIO_Destroy.
2000-04-04 18:56:28 +00:00
Marcus Meissner
502e15b6e7
open() the OSS sounddevice non-blocking in case another process has it
...
open already.
2000-03-30 20:22:12 +00:00
Francois Gouget
6d77d3a1df
Use min/max instead of MIN/MAX.
2000-03-25 21:44:35 +00:00
Patrik Stridvall
fcfacb95a7
Added/fixed some documentation reported by winapi_check.
2000-03-24 20:46:04 +00:00
Eric Pouech
f8fe366b37
Fixed segmented/linear buffers manipulation.
...
Better IO buffering.
Added some missing prototypes.
2000-03-19 21:16:37 +00:00
Eric Pouech
9aa678ca8a
Fixed joystick ID/deviceID/driver handle/instance ID mixup.
2000-03-19 12:41:41 +00:00
Ulrich Czekalla
1e899dfa2e
Check for existence if MMIO_EXIST is passed to MMIO_Open.
2000-03-07 12:23:11 +00:00
Alexandre Julliard
82a2b186e7
Added support for creating extra symlinks for .so files that contain
...
multiple dlls.
2000-03-05 13:08:24 +00:00
Alexandre Julliard
d0edc5fecd
Moved dll-specific make rules to a separate Makedll.rules file.
2000-03-04 22:31:27 +00:00
Alexandre Julliard
e1d78899ea
Made winmm a separate shared library.
2000-02-26 13:45:34 +00:00
Eric Pouech
2a3b0a1dad
Moved hardware related handling to dlls/winmm/joystick driver.
...
Got rid of joySendMessages() hack (now implementation with a timer).
2000-02-26 13:14:04 +00:00
Eric Pouech
1ee4a807c5
Got rid of PROFILE_ functions, now accessing Wine config options
...
through the registry.
2000-02-20 13:40:54 +00:00
Alexandre Julliard
90476d6b4a
Moved SystemHeap allocations to the process heap.
2000-02-16 22:47:24 +00:00
Eric Pouech
696fb4f341
- fixed crash on mci channel tracing
...
- fixed 16 to 32 bit translation for MCI_BREAK and MCI_SYSINFO messages
2000-02-14 19:49:46 +00:00
Oleg Korda
596bca5bfc
Added Russian translation.
2000-02-10 22:38:16 +00:00
Alexandre Julliard
383da68cf9
Optimized debugging API to reduce code size.
2000-02-10 22:15:21 +00:00
Jeremy White
d3e22d9d55
Removed #include of wingdi.h and windef.h from winuser.h (and resolved
...
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Gerald Pfeifer
e5bd2f8221
Fixed unconditional use of JOYDEV.
2000-02-07 22:11:40 +00:00
Andreas Mohr
a16c0e19a7
- implemented serial numbers for audio CDs and data CDs
...
- big clean up of misc/cdrom.c and dlls/winmm/mcicda/mcicda.c function
naming and such
- split debug channel cdaudio into cdrom and mcicda
- fixed some typos
2000-02-07 16:28:52 +00:00
Wolfgang Schwotzer
8f22c91b93
Extended the winmm joystick API calls to support the new Linux
...
joystick driver.
2000-02-07 16:22:07 +00:00
Alexandre Julliard
318f4cefd2
Build most dlls as separate shared libraries.
2000-01-31 05:02:49 +00:00
Andreas Mohr
1fe93345c4
- support for reading labels and serial nums from device
...
- "reasonable" misc/cdrom.c device handling
- much improved audio CD support
- serial number overwrite bug fix
- spelling fixes
2000-01-29 21:11:47 +00:00
Alexandre Julliard
3d678afc4c
Dynamically load version.dll in MMDRV_GetDescription32.
2000-01-26 02:36:43 +00:00
Marcus Meissner
bade58f2d2
Added *.spec.c, *.spec.glue.s, *.glue.c to .cvsignore that need them.
2000-01-23 22:00:06 +00:00
Uwe Bonnes
d0b0dbdc17
Always initialize lpWaveHdr->lpNext to NULL.
...
Don't fail on strange fragment sizes.
2000-01-18 01:09:45 +00:00
Eric Pouech
4f81c3ea30
Replaced Wine specific DRIVER_GetType by a correct implementation of
...
GetDriverFlag.
2000-01-15 22:29:32 +00:00
Alexandre Julliard
74e4a28a34
Built-in DLLs resources are now specified in spec file.
...
Removed unnecessary flags in built-in DLLs tables.
2000-01-09 04:20:31 +00:00
Bradley Baetz
ce80647898
Fixed race condition between app and wine in WAVE_mciPlay.
2000-01-09 02:38:24 +00:00
Eric Pouech
282377824d
Added more MIDI messages 16<=>32 mapping.
...
Fixes some bugs in buffers handling and index for MAPPER.
2000-01-04 01:04:48 +00:00
Eric Pouech
a5bad1034e
Put back visible minimum timer resolution to 1 ms.
...
Decorrelate the service thread resolution from the user required timer
& visible minimum resolutions.
Removed the Callback.TimeFuncProc entry.
2000-01-04 00:57:11 +00:00
Bradley Baetz
6797d74415
Convert mmio to allow the use of 32 bit mmio procedures.
2000-01-04 00:54:18 +00:00
Eric Pouech
0adb3c23ad
Use a uniform naming scheme for driver modules.
2000-01-04 00:27:39 +00:00
Eric Pouech
ba2a9a06ef
Added support for WODM_BREAKLOOP message.
2000-01-04 00:25:57 +00:00
Eric Pouech
1bf5dea29a
Removed extraneous ERR message.
2000-01-04 00:25:39 +00:00
Eric Pouech
507950c461
Added support for MCI_INFO_COPYRIGHT and MCI_INFO_NAME.
2000-01-04 00:25:22 +00:00
Alexandre Julliard
6f715732e7
Make use of automatic ordinal allocation.
2000-01-01 22:06:18 +00:00
Francois Gouget
baa9bf9a23
Buffer overflows and strncpy fixes.
1999-12-27 05:24:06 +00:00
Marcus Meissner
bac7be750b
Cast the unsigned int to signed, or NEAR_MATCH will not work.
1999-12-25 22:55:40 +00:00
Eric Pouech
f919cf3a41
Fixed some bogus values in MCI_STATUS handling (position & length of tracks).
...
Added support for MCI_INFO on MEDIA_UPC & MEDIA_IDENTITY commands.
1999-12-25 22:54:11 +00:00
Eric Pouech
656eebd866
Now using notification for detecting when a WAVEHDR has been played
1999-12-12 21:27:18 +00:00