Michael Stefaniuc
173f7bd26c
janitorial: Remove remaining NULL checks before free() (found by Smatch).
2006-10-10 12:56:24 +02:00
Michael Stefaniuc
10ee330a19
winmm/wineoss: Win64 printf format warning fixes.
2006-10-07 17:47:26 +02:00
Michael Stefaniuc
a0f541399a
winmm/winealsa: Win64 printf format warning fixes.
2006-10-07 17:47:13 +02:00
Michael Stefaniuc
fe0af93cb6
winmm/winearts: Win64 printf format warning fixes.
2006-10-07 17:47:06 +02:00
Michael Stefaniuc
6f6e054ffb
winmm/winenas: Win64 printf format warning fixes.
2006-10-07 17:47:01 +02:00
Michael Stefaniuc
c8ef239057
winmm/wineesd: Win64 printf format warning fixes.
2006-10-07 17:46:58 +02:00
Michael Stefaniuc
3baeb485a0
winmm/winejack: Win64 printf format warning fixes.
2006-10-07 17:46:52 +02:00
Francois Gouget
82babbee0b
Add missing '\n's to Wine traces.
2006-10-05 17:46:48 +02:00
Michael Stefaniuc
41dd56cb7f
"One liners" printf format warning fixes for the migration of DWORD/LONG/ULONG from long to int.
2006-09-29 16:09:24 +02:00
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +02:00
Hwang YunSong(황윤성)
2b4a76001f
winmm: Updated Korean resource.
2006-09-28 11:56:37 +02:00
Mikołaj Zalewski
636f2ac0f3
winmm: Use English (US) instead of English (Neutral) for resources.
2006-09-27 09:40:11 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Jan Zerebecki
1ee1d819f9
wineoss: Remove "please report" from a trace.
2006-09-07 16:11:11 +02:00
Jan Zerebecki
6698e9e0b0
winmm: Prevent NULL dereference in MCI_Close and add testcase for it.
2006-09-07 16:10:48 +02:00
Alexandre Julliard
5cf75e615a
makefiles: Only run test and documentation targets in directories that need them.
2006-08-28 13:37:44 +02:00
Alexandre Julliard
eb8a40c368
libs: Merged libwine_unicode into libwine.
...
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard
77dc0d9be5
.gitignore: Added wildcards to ignore generated resource files.
2006-07-10 21:39:00 +02:00
Alexandre Julliard
0fa8baafcb
make_dlls: Recursively ignore .ok files in all tests directories.
2006-07-10 21:26:50 +02:00
Alexandre Julliard
edd100b899
make_dlls: Recursively ignore testlist.c in all tests directories.
2006-07-10 21:19:42 +02:00
Alexandre Julliard
5258e061dc
make_dlls: Ignore generated import libraries from the top-level .gitignore.
2006-07-10 20:55:58 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Michael Stefaniuc
00e779370f
janitorial: Put "inline static" at the beginning of a declaration.
2006-07-07 14:30:35 +02:00
Andrew Talbot
343597b336
winmm/winealsa: Write-strings warning fix.
2006-07-03 11:59:02 +02:00
Eric Pouech
6f03b0c021
mci: Fix some mciSendString quirks.
...
Really check in MCI open string commands if the name we have is a
device (and no longer rely on bad heuristics for it).
2006-06-26 13:38:03 +02:00
Francois Gouget
21668ad76a
winecoreaudio: Protect pthread.h inclusion.
2006-06-26 13:05:00 +02:00
Peter Åstrand
2585e1a6fd
winmm: Add support for "open new" commands.
2006-06-15 12:25:50 +02:00
Alexandre Julliard
82a404a077
winmm/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:04:07 +02:00
Mike McCormack
25f521f1b2
winmm: Undefine SW_MAX defined by linux/input.h to avoid a conflict with winuser.h.
2006-06-13 12:56:38 +02:00
Alexandre Julliard
ea50196447
winecoreaudio: Fixed the FSF address.
2006-06-01 13:15:54 +02:00
Ken Thomases
1612ce8659
winecoreaudio: Don't CFAllocate buffer for port message.
2006-06-01 13:09:44 +02:00
Ken Thomases
fb5a073e46
winecoreaudio: Use unique name for message port.
...
Use a unique port name for the message port to the message thread.
Port names are system-global, so using a non-unique constant name
prevents the CoreAudio driver from being used in multiple processes
simultaneously.
2006-06-01 13:08:21 +02:00
Ken Thomases
a1e6989a9b
winecoreaudio: 8-bit Linear PCM data is unsigned.
2006-06-01 13:05:59 +02:00
Ken Thomases
178f9fecd9
winecoreaudio: Keep processing wavehdrs to satisfy AudioUnit data request.
...
When fulfilling the output AudioUnit's request for audio data, don't
stop when the current wavehdr is exhausted; advance to the next. This
addresses the buzzy quality of the sound.
2006-06-01 13:03:22 +02:00
Ken Thomases
6a6aec72d3
winecoreaudio: Improve state tracking.
...
Improved tracking of device state (stopped, playing, or paused).
Also, tied starting and stopping the AudioUnit more directly to the
state. No need to change the state when preparing or unpreparing
wavehdrs. Pausing overrides both playing and stopped states; if
stopped, pausing prevents output from starting when the program
writes. When, restarting from the paused state, the device starts
playing if there are queued wavehdrs. Otherwise, it goes to stopped
state.
2006-06-01 12:59:50 +02:00
Ken Thomases
fb9f878849
winecoreaudio: Miscellaneous cleanup.
...
Miscellaneous cleanup: release resources when done with them; protect
against null pointers; reduce redundant code; avoid potential integer
underflow; clarify a do-nothing loop.
2006-06-01 12:59:38 +02:00
Ken Thomases
00e9996339
winecoreaudio: Fix race to open.
...
Fixes a race condition (noted in a comment for wodOpen) when multiple
threads try to open the same wave-out device simultaneously.
Addressed by creating the device mutexes when the driver is
initialized, instead of as each device is opened. Then use the mutex
to protect the open operation against races. At the same time, made
the mutexes recursive to avoid self-deadlocks the driver was
encountering when reentered from the callback.
2006-06-01 12:50:46 +02:00
Alexandre Julliard
11fe657466
winecoreaudio: Fixed a bunch of compiler warnings.
2006-05-31 14:52:58 +02:00
Robert Reif
2b3247a424
winmm: Always check for open and close enents in wave test.
...
Always check for open and close events.
Send WM_APP message to thread to terminate it rather than TerminateThread.
Fix CreateThread/waveOutOpen race by waiting for background thread to
run before waveOutOpen is called.
Add more non-hardware supported formats. There is a bug in wave
mapper GetPosition when multiple headers are used and this helps
trigger it.
2006-05-31 11:45:22 +02:00
Andrew Talbot
9480d3e50a
winmm/joystick: joystick.c requires Unicode library.
2006-05-31 11:42:40 +02:00
Emmanuel Maillard
144a5353ef
winecoreaudio: Initial Audio Driver for Mac OS X.
2006-05-30 19:34:20 +02:00
Robert Reif
fe2becaee3
winmm: Add multiple header wave tests.
...
The current wave tests only use a single header for playback. Tests
have been added to use multiple headers and to reuse them. This is
how streaming applications and direct sound use the wave api.
2006-05-30 12:22:58 +02:00
Alexandre Julliard
9ca8a86914
Link against libwine_unicode everywhere we use Unicode functions.
2006-05-24 18:05:40 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Robert Reif
ed62b0150c
winmm: Fix wave test handle use after close bug.
2006-05-20 14:00:22 +02:00
Robert Reif
d1b838e948
winmm: Fix wave test volume warning.
...
Volume is only valid when sound card has volume support.
2006-05-11 12:10:45 +02:00
Michael Stefaniuc
a87520036f
janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
...
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Robert Reif
9ff27bf6bc
winmm: Print out more info on failed test.
...
Print out more info on failed test. Looks like there is a bug in ALSA
OSS emulation where it is returning a mid-sample position.
2006-05-09 20:44:56 +02:00
Robert Reif
a9bd81be63
winmm: Check waveOutGetVolume parameter.
2006-05-09 11:54:55 +02:00
Alexandre Julliard
922b2749cc
msacm32.drv: Renamed msacm.drv to msacm32.drv, and moved the directory to the top-level.
2006-05-09 11:36:45 +02:00
Alexandre Julliard
252398d286
mciwave: Renamed mciwave.drv to mciwave.dll, and moved the directory to the top-level.
2006-05-09 11:32:21 +02:00
Robert Reif
b4a5df1c19
wineoss: Missing mixer fixes.
...
Don't list volume in capabilities when mixer is missing.
2006-05-08 14:49:48 +02:00
Robert Reif
319633963d
winmm: More wave callback tests.
...
Add tests for CALLBACK_FUNCTION and CALLBACK_THREAD. The only
callback type not tested now is CALLBACK_WINDOW.
2006-05-08 14:49:11 +02:00
Mike Frysinger
dd174c54e1
joystick: Search for /dev/input/js as well as /dev/js.
2006-04-19 19:27:41 +02:00
Robert Reif
269236c1c8
winearts: Don't call arts_free if arts_init wasn't successful.
2006-04-06 11:33:11 +02:00
Jan Zerebecki
6b37d3d57d
winealsa: Fix pausing when the hardware does not support it.
2006-04-03 12:23:31 +02:00
Robert Reif
2d15c8fb75
wineesd: Use pipe sync for events.
...
Ues pipe sync code from OSS/ALSA rather than windows events.
2006-03-14 17:49:59 +01:00
Robert Reif
2eca872675
wineesd: Update ESD driver to closer match OSS and ALSA drivers.
2006-03-10 21:41:21 +01:00
Francois Gouget
4aa6418d51
Assorted spelling fixes.
2006-02-24 21:10:03 +01:00
Dmitry Timoshkov
f29d4af34b
winmm: Protect drivers list by a critical section.
2006-02-14 12:22:57 +01:00
Petr Tesarik
63a46cb374
winmm: Czech language resources encoding fix.
2006-02-13 13:28:42 +01:00
Alexandre Julliard
be22a96847
Include wine/port.h in files that use exceptions.
2006-02-07 16:31:21 +01:00
Fatih Aşıcı
bde9004f19
winmm: Turkish translation.
2006-02-06 13:06:58 +01:00
Eric Pouech
aef4a77d46
wineoss: Proper support in OSS driver for audio when no mixer is present.
...
Fixed a couple of potential fd leaks.
2006-01-27 12:10:25 +01:00
Dmitry Timoshkov
57a579ffcd
Make more arrays const.
2006-01-24 14:00:32 +01:00
Robert Reif
2ba20dd78b
winearts: Try to keep winecfg from crashing by recovering from an arts
...
library crash.
2006-01-23 16:48:45 +01:00
Robert Reif
273470e8ba
winealsa: Add critical section names for debugging.
2006-01-18 14:03:23 +01:00
Alex Villacís Lasso
6d88d5ad5c
winealsa: Ensure that copy_format() will not write past end of
...
referenced WAVEFORMATPCMEX structure.
2006-01-11 12:33:05 +01:00
Robert Reif
8accfc1def
wineoss: Shorten MIDI names.
...
Shorten MIDI names to fit into 32 byte array without overflow.
2005-12-17 12:25:19 +01:00
Alexandre Julliard
ae964ac801
Take advantage of the __EXCEPT_PAGE_FAULT macro.
2005-12-16 17:17:57 +01:00
Robert Reif
c7a59d117a
wineoss: Fix device probing.
...
- Fix device probing at driver load time.
- Fix memory leaks at driver exit time.
2005-12-08 12:00:33 +01:00
Eric Pouech
fa1d997ddc
winealsa: Fixed returned string in capabilities.
2005-12-08 11:58:48 +01:00
Eric Pouech
65a1796bc7
winenas: fix crash.
...
- return correct MM error code when no connection to server has been
opened
- don't close the AU driver if it hasn't been opened
2005-12-08 11:58:35 +01:00
Robert Reif
18441ac027
winejack: Fix driver load and initialization.
...
Move wave in/out initialization from wave out to driver.
Add index number to device names.
Fix memset bug where only first wave in caps was zeroed.
2005-12-06 21:22:08 +01:00
Eric Pouech
9cba6ceacd
mciwave: save/record.
...
- fix for playback after a sound has been recorded
- shall fix also opening the mci device without name
- bug reported (and fix tested) by Peter Astrand
2005-12-06 21:21:48 +01:00
Robert Reif
3020d1a4ca
winmm: Allow sound card driver to be opened more than once.
...
TRACE cleanups.
2005-12-06 10:58:38 +01:00
Robert Reif
ce4fdfdbcd
winmm: Allow sound card drivers to be opened more than once.
2005-12-06 10:58:25 +01:00
Eric Pouech
60884fc3b3
winmm: driver unloading.
...
- properly handle drivers unloading when no session instance of the
driver has been created
2005-12-05 12:01:26 +01:00
Eric Pouech
f01baaa9ab
Fixed some bugs in MCI string parsing.
2005-11-29 11:24:55 +01:00
Dmitry Timoshkov
8140d66c47
Fix all drivers DriverProc to conform to the DRIVERPROC definition.
2005-11-28 20:53:22 +01:00
Ge van Geldorp
1a1583a364
Match PSDK STATUS_* definitions.
2005-11-28 17:32:54 +01:00
YunSong Hwang
966df981a1
Update Korean translations.
2005-11-28 10:41:28 +01:00
Eric Pouech
7ec69e9c2b
LoadLibrary16 is no longer exported by name, so do the lookup by its
...
ordinal (when loading NE sibling).
2005-11-28 10:40:25 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
YunSong Hwang
5e7f77ea8b
Update Korean translations.
2005-11-23 15:21:56 +01:00
Rein Klazes
77a6d341c7
Break from the SNDCTL_DSP_CHANNELS loops on first error instead of
...
continuing with even higher channels numbers.
2005-11-21 11:56:55 +00:00
Robert Reif
014ab5e249
Only convert bits per sample between different encoding formats.
2005-11-16 11:22:06 +00:00
Edgar Hucek
2a3c30a239
Unicode compile fix.
2005-11-14 11:23:34 +00:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Francois Gouget
f4c0524ec6
Assorted spelling and case fixes.
2005-11-10 11:39:07 +00:00
Davin McCall
828086ef93
Avoid getting ahead of dsound mixer when using non-hw device. Also
...
avoid using internal ALSA call to retrieve hardware play position.
2005-11-05 10:44:10 +00:00
Robert Reif
274de441f7
Add waveOutPause/waveOutRestart test.
...
Tighten up play duration test when ending too soon.
Set VirtualFree size to 0.
2005-10-31 10:03:25 +00:00
Julien Cegarra
49c46e9d3d
Correct name of sound.dll to sound.drv (WIN16).
2005-10-30 19:06:59 +00:00
Robert Lunnon
c0fcf36e0a
Added header errno.h.
2005-10-24 15:02:30 +00:00
Eric Pouech
7eba5c5c7d
Fixed mmioOpenW flags for playback.
2005-10-10 10:27:05 +00:00
Vitaliy Margolen
f09eb790c9
Replace registry editing instructions with winecfg.
2005-10-03 10:16:32 +00:00
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +00:00
Alexander N. Sørnes
cd6e5bab8b
Added Norwegian translations.
2005-09-26 10:56:47 +00:00
Alexandre Julliard
9f1c6de1ef
We are no longer generating .spec.c files.
2005-09-21 14:42:52 +00:00
Dmitry Timoshkov
08de86c831
Add a test for mmioDescend, make it pass under Wine.
2005-09-16 19:40:27 +00:00
Marcus Meissner
bd7ec9aca5
The last argument to MultiByteToWideChar is wide character count and
...
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00: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
Alexandre Julliard
d3dba4e56c
Fixed gcc 4.0 warnings.
2005-09-12 10:52:38 +00:00
Alexandre Julliard
20a1a203c6
Use a more portable scheme for storing the name of a critical
...
section.
2005-09-09 10:19:44 +00:00
Ulrich Czekalla
4e8ec876f0
Display fccType as hex instead of characters in trace output.
2005-09-09 10:05:02 +00:00
Alexandre Julliard
6f163b56b5
Avoid 'clobbered by longjmp' warnings.
2005-09-08 18:59:52 +00:00
Ulrich Czekalla
613cf57872
ckid not fccType specifies the form type to search for.
2005-09-08 18:55:33 +00:00
Christian Costa
434fbc5144
Improve midi trace.
2005-09-08 11:02:48 +00:00
Ulrich Czekalla
ee934ffadd
Remove redundant check.
2005-09-08 11:02:15 +00:00
Mike McCormack
dc1c62a592
Fix gcc 4.0 warnings.
2005-09-07 11:31:17 +00:00
Mike McCormack
6dc69f5f54
Fix gcc 4.0 warnings.
2005-09-02 12:26:21 +00:00
Rémi Assailly
c6e294deb1
Moved mciavi32 to the top-level dlls directory.
2005-08-23 19:52:30 +00:00
Mike McCormack
eafa666bee
Fix some gcc 4.0 warnings.
2005-08-22 09:26:53 +00:00
Robert Reif
b6aeb56d0b
Fix mixer detection for multiple sound cards.
2005-08-22 09:20:20 +00:00
Rémi Assailly
2e689c6c66
Removed mcianim.
2005-08-19 11:22:25 +00:00
Felix Nawothnig
7f6554b7d1
Make string elements of MCI_OPEN_PARMS const to match the SDK headers.
2005-08-18 10:53:58 +00:00
Alexandre Julliard
205fc8a324
Make all the DriverProc entry points private.
2005-08-17 12:41:41 +00:00
Rémi Assailly
5df5e40164
Moved mciseq to the top-level dlls directory.
2005-08-17 12:15:35 +00:00
Alex Villacís Lasso
4d4cd39da8
Remove crackling in DirectSound/ALSA playback with full hardware
...
acceleration.
2005-08-12 11:17:54 +00:00
Francois Gouget
d7b13bcd86
Unicodify wineesd.
...
Fixes WIDM_GETDEVCAPS and WODM_GETDEVCAPS.
Call Unicode functions instead of their Ansi equivalent when possible.
2005-08-10 14:42:23 +00:00
Alexandre Julliard
628939d567
Use the proper WOW functions everywhere instead of the K32WOW variant.
2005-08-10 10:59:19 +00:00
Alexandre Julliard
82776020da
Removed some unused or redundant configure checks.
...
A few cleanups in configure.ac.
2005-08-08 11:17:25 +00:00
Alexandre Julliard
49b7fdcfc0
Removed the broken mmap64 configure check, and moved the
...
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Peter Åstrand
7a15eb9318
Implemented an Esound driver.
2005-08-03 15:53:26 +00:00
Mike McCormack
82434be6a9
gcc 4.0 warning fixes.
2005-07-29 14:15:31 +00:00
Rémi Assailly
dbbd0d5115
Moved mcicda to the top-level dlls directory.
2005-07-27 15:42:40 +00:00
Johannes Koch
132af0a13e
Fixed pitch bending in the midi driver.
2005-07-27 12:06:51 +00:00
Vitaliy Margolen
00f80c609a
Remove all wait_for_poll associated stuff that is no longer needed.
2005-07-27 10:51:36 +00:00
Robert Shearman
2cec4f458a
wait_for_poll can go into an infinite loop. Remove it and replace it
...
with snd_pcm_drain which is more likely to do what the original author
intended.
2005-07-26 10:31:11 +00:00
Rémi Assailly
f9f5eaab6e
Moved midimap to the top-level dlls directory.
2005-07-21 11:31:56 +00:00
Stefan Huehner
9b65ffbb36
Add some consts to fix discard-qual warnings.
2005-07-15 16:33:38 +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
Mike McCormack
bda7ace2e9
Interlocked LONG* gcc warning fixes.
2005-07-13 11:59:15 +00:00
Mike McCormack
257c337c19
gcc 4.0 -Wpointer-sign fixes (Reg* functions).
2005-07-07 12:08:42 +00:00
Vitaliy Margolen
ade3dd2828
Change messages about config file to registry.
2005-07-03 11:23:48 +00:00
Vitaliy Margolen
645bb9f66b
Sync comments with configuration location changes.
2005-06-29 20:14:03 +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
Eric Pouech
1f7a8d6a5e
Fixed window size computation for non child windows.
2005-06-27 09:45:26 +00:00
Alexandre Julliard
aa0b9aac0d
Sort entry points alphabetically.
2005-06-22 18:38:23 +00:00
Mike McCormack
9e5b4d4019
Make a function static.
2005-06-22 11:59:43 +00:00
Stefan Huehner
863a4b1488
Fix some more -Wstrict-prototypes warnings.
2005-06-21 20:53:13 +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
0ddb8d11be
Moved configuration data to HKCU\Software\Wine\Alsa Driver.
2005-06-20 16:03:21 +00:00
Jeremy White
ddf70d7ecb
Revamp the initialization for Alsa.
2005-06-20 15:34:59 +00:00
Rein Klazes
433f72f8b2
In MCI_(Un)MapMsg16To32W with wMsg == MCI_OPEN(_DRIVER) only do
...
strdupAtoW on those parameters that are flagged to be a string.
2005-06-20 11:44:17 +00:00
Mike McCormack
383302c11e
Make functions static.
2005-06-20 10:30:15 +00:00
Francois Gouget
9769816b6e
Fix winapi_check documentation warnings.
2005-06-17 20:58:33 +00:00
Stefan Huehner
03cc8c4181
Remove some -Wstrict-prototypes warnings.
2005-06-17 10:11:37 +00:00
Mike McCormack
65ad7da1f7
Fix some declaration and write string warnings.
2005-06-16 10:45:25 +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