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
Alexandre Julliard
c2d5b444b3
Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
...
can be used in all the test.
2005-06-13 12:10:54 +00:00
Robert Shearman
f49339ace3
Remove needless call to Sleep.
2005-06-13 10:02:02 +00:00
Jeremy White
b70b78783d
Combine WINE_WAVEOUT and WINE_WAVEIN into a single structure.
2005-06-09 09:49:31 +00:00
Dmitry Timoshkov
eba47f1dfe
Make remaining OLE interface vtables const.
2005-06-06 19:50:35 +00:00
Robert Reif
3433d8bb29
Don't open device if already open.
...
Don't need opened device to get/set volume.
2005-06-06 10:03:18 +00:00
Robert Reif
bbb01ae0d0
Fix a problem where actual sample rate doesn't exactly match
...
requested.
2005-06-05 19:18:52 +00:00
Robert Reif
72b7071e5a
Return proper error code.
...
Change ERR to WARN for failed requests.
2005-06-05 18:06:35 +00:00
Robert Reif
2b7438224f
Add support for more than 2 audio channels.
2005-05-30 11:12:07 +00:00
Francois Gouget
62253b752f
Assorted spelling fixes.
2005-05-30 09:56:56 +00:00
Marcus Meissner
33f4108b69
#undef interface before including alsa headers.
2005-05-29 20:03:05 +00:00
Robert Reif
8a67554a3a
Fix a multiple sound card interface bug.
...
Add better error messages.
2005-05-29 20:02:58 +00:00
Robert Reif
84e1e9948b
Fix volume control.
2005-05-29 20:02:05 +00:00
Alexandre Julliard
0ddd30b0b6
Removed unnecessary code in the 16-bit DllEntryPoint function of some
...
dlls, and also fixed its ordinal in a few places.
2005-05-23 10:00:26 +00:00
Mike McCormack
66cee15084
Set thread priorities to time critical.
2005-05-14 18:49:40 +00:00
Alexandre Julliard
34fa35dc99
Added rules for building import libraries in the individual dll
...
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard
d62356aa1e
Added rules to build import libraries in the individual dll makefiles.
...
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Robert Lunnon
dc1ceb95cb
Fix segmentation fault caused by incorrect referencing of client audio
...
format specifications array.
2005-05-07 12:17:28 +00:00
Robert Reif
723a67d1f8
Change FIXME to WARN.
2005-05-06 19:32:36 +00:00
Mike McCormack
b2ba933fcf
Make multimedia threads high priority.
2005-04-27 09:39:55 +00:00
Mike McCormack
795b17e055
Make WINMM_IData statically allocated.
2005-04-27 08:12:58 +00:00
Christian Costa
0b3c79f712
Fixed flags handling in MCIAVI_mciInfo.
2005-04-26 14:29:57 +00:00
Robert Reif
684f111070
Remove priority boost stuff.
2005-04-24 17:23:51 +00:00
Robert Reif
419e92812b
Set thread priority for timer thread.
...
Add timer thread priority test.
2005-04-23 19:03:47 +00:00
Alex Villacís Lasso
569db3c812
Perform one more commit in ALSA non-emulation if there are still
...
frames to be transmitted.
2005-04-22 19:05:34 +00:00
Peter Berg Larsen
6e3bcb5a54
Replace strncpy with memcpy or lstrcpyn.
2005-04-18 10:30:55 +00:00
Robert Reif
da9c394f67
Stub out DRVM_MAPPER_RECONFIGURE support.
2005-04-12 10:14:57 +00:00
José Manuel Ferrer Ortiz
4f50a2c0dc
Spanish translations updated.
2005-04-11 13:01:46 +00:00
Robert Reif
ed8cf4e3a9
Changed regression test to make sure position is correctly checked
...
when a different type is returned.
Added Jeremy White's WAVE_FORMAT_DIRECT/WAVE_MAPPER fix.
Added waveInGetPosition checks.
2005-04-11 12:49:22 +00:00
Robert Reif
c002dfc005
Correctly handle where waveOutGetPosition changes timepos.wType
...
because the requested type is not supported.
Added Jeremy White's waveOutGetPosition fix to waveInGetPosition.
2005-04-11 12:49:04 +00:00
Paul van Schayck
d2c7a6863b
Don't stop looking for devices if one can't be opened.
2005-03-31 10:07:02 +00:00
Jerry Jenkins
4a8ce2ae41
Improve winealsa dsound driver by accessing sound driver's buffer
...
directly in an undocumented way.
2005-03-29 19:48:07 +00:00
Jerry Jenkins
2239b3ae2e
Don't mistake frames for bytes.
2005-03-27 17:52:32 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Francois Gouget
93416cdaf7
Assorted spelling fixes.
2005-03-23 13:15:18 +00:00
Robert Reif
b19aaf1e46
Don't fail when opening a device in direct sound mode. Rather, try
...
alternate formats first before failing.
2005-03-23 11:58:05 +00:00
Jeremy White
cd5ee268b8
Revamp the volume logic to be more self contained, fix a few bugs so
...
that the volume is correctly read, and is correctly converted to
windows style volume numbers.
2005-03-23 10:22:16 +00:00
Robert Reif
f1565973b6
Fix direct sound capabilities to match hardware.
2005-03-21 12:32:48 +00:00
Alexandre Julliard
c3b7da47f8
Fixed a missing patch chunk.
2005-03-21 11:50:06 +00:00
Robert Reif
3279b6de6e
Clean up handle usage.
2005-03-21 11:21:18 +00:00
Vincent Béron
811725ac20
Correct and complete some api documentation.
2005-03-21 10:55:13 +00:00
Filip Navara
4a5ade0eb1
Specify correct buffer size in GetPrivateProfileStringW calls.
2005-03-21 10:28:38 +00:00
Robert Reif
0c9c020d68
Print out message name to make reading traces easier.
2005-03-21 10:27:47 +00:00
Robert Reif
2b3aa7c5be
Fall back to default prepare/unprepare header functions.
2005-03-19 17:11:02 +00:00
Robert Reif
03c88f5f60
Add support for more than one sound card.
...
Fix wave out support when no volume control is present.
Use proper structure for wave in device caps.
2005-03-18 10:26:05 +00:00
Robert Reif
83d29a0761
Check wave out volume support.
2005-03-18 10:25:48 +00:00
Robert Reif
99042cfe64
Fall back to default header prepare and unprepare functions.
2005-03-17 18:56:14 +00:00
Robert Reif
f7be545ede
Use real device name.
2005-03-17 18:54:20 +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
1a90d1cc3c
Provide default implementation of waveInPrepareHeader and
...
waveInUnprepareHeader if driver doesn't support them.
2005-03-16 11:30:34 +00:00
Robert Reif
8b55b76daf
Fix memory leak in error path.
2005-03-15 15:39:03 +00:00
Robert Reif
cf4d0d9707
Fix memory leak when there are too many drivers.
2005-03-15 15:38:48 +00:00
Jason Edmeades
17cff085fb
Avoid trap in mixerGetLineControlsA when cControls is uninitialized
...
and MIXER_GETLINECONTROLSSF_ONEBYTYPE requested.
2005-03-15 15:38:34 +00:00
Peter Berg Larsen
001a936176
Assorted memleak fixes. Found on Michael Stefaniuc smatch list.
2005-03-11 12:50:27 +00:00
Alexandre Julliard
7b738b7f8c
Make sure to always pass valid QS_* flags to
...
MsgWaitForMultipleObjects.
2005-03-08 17:00:38 +00:00
Vincent Béron
d5749b454d
Make wineoss's mixer know about DST_HEADPHONES, DST_LINE and
...
DST_VOICEIN. Use proper constants instead of 0 and 1.
2005-03-07 10:59:28 +00:00
Steven Edwards
5727918424
Added a check for poll.h.
2005-03-04 12:38:36 +00:00
Francois Gouget
9e53994abe
Warn the user if he is running the test in interactive mode but the
...
sound is turned off.
2005-03-03 13:49:30 +00:00
Francois Gouget
fbb3343547
Assorted spelling fixes.
2005-03-02 13:53:50 +00:00
Francois Gouget
7105248ae6
Apply Jeremy White's SMPTE calculation fix to each audio driver.
2005-03-02 13:39:23 +00:00
Alexandre Julliard
d0ee9f9309
Avoid spaces before preprocessor directives, that's not portable.
2005-03-02 12:23:20 +00:00
Jeremy White
36e845ce05
Aggressively round up to the proper alignment when reporting position
...
on streams where we are converting up.
2005-03-02 12:17:28 +00:00
Jeremy White
cf23045791
More correctly establish cases where the OSS input buffer should not
...
be enabled.
2005-03-02 10:12:35 +00:00
Christian Costa
18a9738943
Added some more cases to MCI_MapMsgAtoW.
2005-02-26 17:41:11 +00:00
Jeremy White
2db20ef1f0
More correct fix for dsp empty case.
2005-02-23 21:00:02 +00:00
Jeremy White
494a34bfda
An interactive test should have volume, else a rational user will
...
decide it is broken.
2005-02-23 20:28:28 +00:00
Jeremy White
aa2046f643
In calculating the SMPTE time, we would round incorrectly (0:0:4.30
...
instead of 0:0:5.0 [the last column only goes to 29]).
2005-02-23 15:40:54 +00:00
Jeremy White
920ef0fbc9
When we get down to the last fragment or two in our output to the DSP,
...
we should use the SND_DSP_POST ioctl to let the sound card know to
flush those fragments. This allows us to precisely know when the
buffer is empty, and fixes another set of winmm tests.
2005-02-23 12:43:04 +00:00
Jeremy White
1b685779a4
When testing the WAVE_MAPPER device, it seems inappropriate (to me) to
...
demand WAVE_FORMAT_DIRECT; this fixes another slew of tests.
2005-02-23 12:42:43 +00:00
Jeremy White
15ec2780ef
When we are converting from one sample rate to another, we do have to
...
adjust when calculating TIME_SAMPLES.
2005-02-23 12:42:32 +00:00
Christian Costa
87844214ab
Fixed offsets calculations.
2005-02-18 12:53:26 +00:00
Robert Reif
e3566d8260
Fix timer tests to pass on windows 98.
2005-02-18 12:51:54 +00:00
Alex Villacís Lasso
18bfe6a095
Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
...
resources, so that Spanish locales other than Spain also use Spanish
resources.
2005-02-16 21:10:59 +00:00
James Hawkins
993fbb94e0
Fix improper type-conversions.
2005-02-16 17:52:35 +00:00
Robert Reif
ecdf41ef2c
Add some missing \ns.
2005-02-14 20:54:12 +00:00
Robert Reif
b33ef44105
Added parameter checking to timeGetDevCaps.
...
Added timer tests.
2005-02-14 11:00:59 +00:00
Eric Pouech
1eed552b4d
- rewrite MCI interfaces as Unicode interface (as it should be)
...
- made some winmm APIs rely on the Unicode version for the core
implementation (instead of Ansi flavor)
2005-02-09 22:26:25 +00:00
Robert Reif
7d92b5d8b4
Fix structure member name to match windows headers and fix up all
...
uses.
Nameless struct fix for dsound/propset.c to compile on both windows
and wine.
2005-01-28 17:21:07 +00:00
Alexandre Julliard
d1685b00bf
Authors: Klemens Friedl <klemens_friedl@gmx.net>, Henning Gerhardt <henning.gerhardt@web.de>
...
Spelling fixes.
2005-01-17 13:43:31 +00:00
James Hawkins
ed12a3defd
- Use Interlocked* instead of ++/-- in AddRef/Release.
...
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-12 19:55:24 +00:00
Vincent Béron
151015fa02
Only use Alsa if 1.0 is detected.
2005-01-10 13:26:33 +00:00
Mike McCormack
4a0f999859
Use CreateEventW in preference to CreateEventA for unnamed events.
2005-01-07 15:40:09 +00:00
Francois Gouget
9d589acc26
Assorted spelling fixes.
2005-01-04 20:39:54 +00:00
Alexandre Julliard
75f87dd43f
Get rid of the ThunkData stubs, these are not functions.
2005-01-03 20:47:48 +00:00
Michael Stefaniuc
15a308a9d7
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2005-01-03 14:56:42 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Francois Gouget
ee0344a4a2
Remove unneeded NULL casts.
2004-12-22 15:13:20 +00:00
Robert Reif
2d8e75dab5
A driver does not have to support all formats.
2004-12-20 19:08:18 +00:00
Robert Reif
6ca75f8bb7
Return actual result on error.
2004-12-20 17:09:12 +00:00
Robert Reif
7b53f635f7
Return flag for DRVM_MAPPER_PREFERRED_GET.
2004-12-17 19:04:28 +00:00
Alexandre Julliard
ebe3c529b1
Janitorial: C booleans must not be compared against TRUE.
2004-12-09 14:07:59 +00:00
Ge van Geldorp
c24ca67f58
Match PSDK definitions for LPCWAVEFORMATEX.
2004-12-08 13:57:55 +00:00
Michael Jung
0e9f423b17
Fixed linking issues.
2004-12-08 13:44:41 +00:00
Alexandre Julliard
5f1ef6d09b
Fixed compile error.
2004-12-07 14:31:53 +00:00
Alexandre Julliard
b4e495574b
Authors: Eric Pouech <pouech-eric@wanadoo.fr>, Filip Navara <xnavara@volny.cz>
...
32 bit low level drivers now use a Unicode interface (used to be ANSI):
- Send the *_GETDEVCAPS messages in unicode format from the
*GetDevCapsW function and call the *GetDevCapsW from their respective
Ansi versions.
- Modify all low level drivers to correctly process the *_GETDEVCAPS
messages as unicode.
- *_GETDEVCAPS messages are now mapped from/to unicode for 16 bit code.
- Removed all SoundBlaster naming oldies.
Better use of some unicode functions (instead of Ansi) in winmm.
2004-12-06 20:55:25 +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
Eric Pouech
0a258964c2
Const correctness fixes.
2004-11-30 21:38:57 +00:00
Eric Pouech
5c2a891c43
Made some functions and variables static.
2004-11-29 18:00:10 +00:00
Rémi Assailly
8cd13776e2
Add some missing error values in WINMM_ErrorToString.
2004-11-21 15:37:04 +00:00
Robert Reif
24da756e68
One step closer to getting hardware accelerated capture working.
2004-11-19 18:25:03 +00:00
Robert Shearman
84eaaa168f
Fix broken thread start routines.
2004-11-03 22:18:44 +00:00
Robert Reif
53e5799949
Don't consider a MMSYSERR_NOTSUPPORTED failure a test failure.
2004-11-03 22:13:44 +00:00
Jeremy White
e078899218
The Sleep(0) in this loop is incorrect, and should be removed. This
...
fixes iTunes and a game reported by che.
2004-11-02 19:26:22 +00:00
Robert Reif
0e3c524f4c
Split up audio.c into three separate .c files:
...
audio.c: OSS functions and waveIn and waveOut driver functions.
dscapture.c: direct sound capture driver implementation.
dsrender.c: direct sound renderer driver implementation.
2004-10-26 22:04:55 +00:00
Robert Reif
01d55a404b
win 9x doesn't always support waveOutGetDevCapsW so don't generate an
...
error for MMSYSERR_NOTSUPPORTED.
Play one second of silence for each sound card when not in interactive
mode.
2004-10-26 21:18:27 +00:00
Robert Reif
c67bfb2895
Don't consider no driver a test failure.
2004-10-25 21:46:12 +00:00
Francois Gouget
ceab348973
Remove HAVE_LIBAUDIOIO_MIDI and LIBAUDIOIO_MidiInit().
2004-10-21 19:58:08 +00:00
Vincent Béron
6c644d68cf
Fix various function prototypes.
2004-10-19 23:55:15 +00:00
Robert Reif
9c8dd0a294
Don't consider MMSYSERR_NOTSUPPORTED an error for wide functions.
2004-10-18 23:14:54 +00:00
Jeremy White
fea27b1348
Revise winmm/time.c to fix timer resolution at 1 ms. This then allows
...
a much more efficient implementation of timer events and timeGetTime,
and callers that used sub 10 ms resolution will now get correct
results.
2004-10-18 21:44:32 +00:00
Hans Leidekker
804277371a
getMessage() is only defined when HAVE_OSS is defined.
2004-10-14 00:28:43 +00:00
Eric Pouech
1876d185e9
- bring the multimedia doc up-to-date
...
- moved the TODO from the doc into the code
2004-10-11 19:57:10 +00:00
Jerry Jenkins
ccdea75dca
Fix an error message.
2004-10-04 20:41:10 +00:00
Jerry Jenkins
30b8cccc07
Don't use the SND_PCM_ASYNC flag for the moment.
2004-10-04 19:30:04 +00:00
Uwe Bonnes
17e22fba88
Call GetProcessHeap() instead of passing its address.
2004-09-27 20:35:13 +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
Alexandre Julliard
f5f7a1822c
Removed some more uses of the non-standard ICOM_THIS macro.
2004-09-08 01:50:37 +00:00
Rein Klazes
ad6b12c64c
Fix a heap corruption in MIX_Init ( sizeof() != strlen() ).
2004-09-02 22:57:39 +00:00
Alexandre Julliard
1b30417811
Function parameters don't need WINE_UNUSED.
2004-09-01 04:58:21 +00:00
Francois Gouget
3c4525af93
Add support for the AUDIODEV and MIXERDEV environment variables.
2004-09-01 01:28:12 +00:00
Francois Gouget
4b0cb7d581
Don't include 'mmddk.h', it's not needed. The winmm tests can now be
...
compiled on Windows without the DDK.
2004-08-31 17:33:03 +00:00
Robert Reif
1e82007cae
Test 32 bit float samples.
2004-08-30 18:36:06 +00:00
Robert Reif
79b1c4dbe7
Round results of conversions between OSS and windows values.
2004-08-30 18:35:53 +00:00
Robert Reif
fa70d5c0d0
Adds tests to read and write control details.
2004-08-27 19:39:10 +00:00
Robert Reif
d7d1c3846b
Set proper target type.
...
Set proper max and step for mux control.
2004-08-27 19:38:47 +00:00
Francois Gouget
dff5004bc0
Assorted spelling fixes.
2004-08-26 00:31:20 +00:00
Dmitry Timoshkov
03490879bd
Fix an obvious typo leading to a crash.
2004-08-25 17:31:03 +00:00
Robert Reif
c8fa57539d
Added 32 bit float support.
2004-08-25 02:11:12 +00:00
Alexandre Julliard
f714b39762
Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
...
macro.
2004-08-23 19:39:48 +00:00
Robert Reif
b15504e122
Added support for multiple mixers.
...
Get mixer name from OSS.
More tracing.
2004-08-22 22:26:48 +00:00
Robert Reif
6f4be5494b
Fixed bug in volume control step size so that it actually works.
...
Added additional debug tracing.
Code cleanup.
2004-08-22 02:02:27 +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