Commit Graph

148 Commits

Author SHA1 Message Date
Jörg Höhle 3e1d402881 mmdevapi: IsFormatSupported fills closest match iff it returns S_FALSE. 2011-09-09 14:24:08 +02:00
Jörg Höhle 08dd823c7c mmdevapi: Use UINT32 for a number of frames and UINT64 to sum them. 2011-09-08 20:08:09 +02:00
Jörg Höhle df201d3ef3 mmdevapi: Accept up to 8 channels. 2011-09-07 18:13:29 +02:00
Andrew Eikum c4b94b1ba4 mmdevapi: Automatically select the correct driver. 2011-09-01 18:06:37 +02:00
Jörg Höhle abf5b64f4c mmdevapi: Do not mix frames and bytes. 2011-08-30 17:10:40 +02:00
Jörg Höhle 541075c3db mmdevapi: After GetBuffer, refuse Reset, but Start/Stop is ok. 2011-08-24 11:52:06 +02:00
Jörg Höhle ea47c12ebe wineoss.drv: Fix AudioRenderClient write pointer calculation. 2011-08-22 16:14:34 +02:00
Marcus Meissner 2de37f0214 wineoss.drv: Print strerror of errno, not of -1 (Coverity). 2011-08-22 16:14:31 +02:00
Francois Gouget ed3c9a1eca Assorted spelling fixes. 2011-08-03 14:15:48 +02:00
Andrew Eikum e0f1aa0b05 wineoss.drv: Choose default device using a better method. 2011-07-27 19:42:42 +02:00
Andrew Eikum 80fd691e9e mmdevapi: Use a sane default if no buffer size is requested. 2011-07-18 18:31:06 +02:00
Francois Gouget a53e011021 wineoss.drv: Add a trailing '\n' to a TRACE() call. 2011-07-18 16:23:29 +02:00
Andrew Eikum 2174717fbd mmdevapi: Only enumerate devices that can be opened during initialization. 2011-07-14 14:39:46 +02:00
Francois Gouget 5e6d17384f wineoss.drv: Make the AudioSessionManager methods static. 2011-07-11 18:31:53 +02:00
Jacek Caban dbba09ca29 audiopolicy.idl: Fixed SetGroupingParam declaration. 2011-07-04 13:45:14 +02:00
Andrew Eikum 0085689f5d mmdevapi: Implement ISimpleAudioVolume::{Set, Get}Mute. 2011-06-20 19:31:57 +02:00
Andrew Eikum a93efd5346 mmdevapi: Fix refcounts in IAudioClient::GetService. 2011-06-20 19:31:39 +02:00
Andrew Eikum bc10fd3ce6 mmdevapi: Sessions should be unique per-device. 2011-06-14 12:59:39 +02:00
Jörg Höhle f68a36c87b wineoss: Properly allocate the WAVEFORMATEXTENSIBLE returned by GetMixFormat. 2011-06-06 21:49:21 +02:00
Andrew Eikum a63346aa40 wineoss.drv: Partially implement IAudioSessionManager2. 2011-06-06 21:49:18 +02:00
Marcus Meissner f8c8c13cc5 wineoss.drv: Mark internal symbols with hidden visibility. 2011-05-30 11:12:32 +02:00
Gerald Pfeifer be57450fee wineoss.drv: Cope with system which lack SNDCTL_DSP_HALT. 2011-05-20 10:35:27 +02:00
Gerald Pfeifer bed73e9e73 wineoss.drv: Support platforms that do not feature AFMT_FLOAT. 2011-05-09 12:08:20 +02:00
Gerald Pfeifer 051b64b66f wineoss.drv: Use AFMT_S24_LE instead of AFMT_S24_PACKED. 2011-05-09 12:07:57 +02:00
Andrew Eikum 733ed828be wineoss.drv: Implement volume control interfaces. 2011-05-09 11:58:46 +02:00
Andrew Eikum 836c5fa5bc wineoss.drv: Move IAudioClock closer to its related interfaces. 2011-05-09 11:58:44 +02:00
Alexandre Julliard 92e05ed981 wineoss: Get rid of %ll printf formats. 2011-05-02 21:03:15 +02:00
Alexandre Julliard f60a0f5e56 configure: Improve the detection of OSS v4. 2011-05-02 20:07:04 +02:00
Andrew Eikum 4a95e7b0c9 wineoss.drv: Implement IAudioSessionControl::GetState. 2011-05-02 18:48:20 +02:00
Andrew Eikum 4a37f2f093 mmdevapi: Initialize global driver data at DLL load time. 2011-05-02 18:48:20 +02:00
Andrew Eikum be332326ba wineoss.drv: Add mmdevapi driver. 2011-04-27 17:47:05 +02:00
Austin English 17adb6c408 wineoss.drv: Remove extraneous parentheses (LLVM/Clang). 2011-04-13 14:13:55 +02:00
Jörg Höhle 75dbd1162e winmm: Audio drivers unconditionally invoke DriverCallback. 2011-04-11 17:32:29 +02:00
Alexandre Julliard 1644b25847 wineoss.drv: Remove unnecessary ifdefs. 2011-03-28 22:11:45 +02:00
Jörg Höhle 3a5c79fac2 wineoss: Fix 64-bits incompatibilities. 2011-03-15 17:14:08 +01:00
Jörg Höhle e7b07680c5 wineoss: Ignore failure to notify winmm wave clients. 2011-03-15 17:14:08 +01:00
Marcus Meissner 242cbcaa27 wineoss.drv: Fixed incorrect sizeof() (Coverity). 2011-02-23 15:00:30 +01:00
Michael Stefaniuc 22d645ab4d wineoss.drv: Standardize the COM usage in dscapture.c. 2010-12-08 16:10:42 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Eric Pouech 06b6e3bdc7 wineoss.drv: Be consistent for aux devices about what we actually support. 2010-07-19 11:10:13 +02:00
Michael Stefaniuc 4deab508ba wineoss.drv: Avoid a potential NULL pointer dereference in a TRACE. 2010-05-20 13:47:52 +02:00
Jörg Höhle d531d229e5 wineoss: MOD_MIDIPORT has 0 voices and notes and FFFF ChannelMask. 2010-05-05 10:50:56 +02:00
Jörg Höhle 8aeb9ec03a wineoss: Supply FFFFFFFF for midiOutGetVolume, not garbage. 2010-05-05 10:50:50 +02:00
Maarten Lankhorst c0a602c2e9 wineoss.drv: Move opening devices to their respective xxxMessage functions. 2010-04-21 16:14:39 +02:00
Maarten Lankhorst d54dcdfedb wineoss.drv: Clean up DriverProc. 2010-04-21 16:12:44 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Jörg Höhle 64b6287e83 winmm: Accept the ancient, smaller MIDIHDR. 2010-02-22 13:18:26 +01:00
Jörg Höhle 4cff4c82a1 wineoss: Do not access WAVEHDR past DriverCallback. 2010-02-22 13:16:28 +01:00
Jörg Höhle 4f1604e92d wineoss: Ignore failure to notify MIDI clients. 2010-02-05 10:10:23 +01:00
Jörg Höhle a758c6a981 winmm: The 64KB buffer limit on MIDIHDR buffers applies to streams only. 2010-02-03 15:49:09 +01:00
Henri Verbeet 3be325040c wineoss.drv: Use wine_dbg_sprintf() in a few debug utility functions. 2009-11-30 12:49:46 +01:00
Jörg Höhle 55fca7778b wineoss: Fix the buffer size check for more than 2 channels. 2009-10-05 15:01:27 +02:00
Jörg Höhle 8870fe38b5 wineoss: Enforce invariant about BlockAlign and nAvgBytesPerSec. 2009-09-16 15:26:19 -05:00
Marcus Meissner 4b0a2f8670 wineoss.drv: 2 more close(mixer) added. 2009-09-10 10:52:35 +02:00
Marcus Meissner 063ddfeead wineoss.drv: Avoid mixer fd leak. 2009-09-08 12:13:29 +02:00
Francois Gouget 5ef481922f Assorted spelling fixes. 2009-04-20 15:25:26 +02:00
Rob Shearman a9bf3813ec wineoss.drv: Use CP_UNIXCP instead of CP_ACP for converting strings that come from system library functions or system headers. 2009-02-19 12:51:46 +01:00
Michael Stefaniuc 3415f7788c include: Change some DWORD to DWORD_PTR in mmddk.h.
This matches the DDK and removes 14 Win64 compile warnings.
2009-02-04 12:26:05 +01:00
Michael Stefaniuc c0a9281c1e wineoss.drv: Remove superfluous pointer casts. 2009-01-22 12:04:55 +01:00
Alexandre Julliard ec1b28edb0 include: Fix a number of mmsystem.h structure for Win64. 2009-01-09 18:08:29 +01:00
Andrew Talbot 897a235e70 wineoss: Remove a superfluous semicolon. 2008-12-24 19:59:09 +01:00
Christian Costa 6710560551 wineoss.drv: Initialize correctly the header before adding it to the queue. 2008-12-22 14:02:35 +01:00
Francois Gouget 2b8b8b837c wineoss.drv: Fix the m[io]dMessage() documentation. 2008-12-19 17:45:29 +01:00
Francois Gouget f5bc44322c wineoss.drv: Make widOpen() and wodOpen() static. 2008-12-12 11:44:30 +01:00
Alexandre Julliard ba3054b60e wineoss.drv: Fix a couple of printf format warnings. 2008-12-04 14:33:07 +01:00
Andrew Talbot 209fe1ec55 wineoss.drv: Sign-compare warnings fix. 2008-12-04 12:05:40 +01:00
Maarten Lankhorst c4b5233974 wineoss.drv: Fix 64-bits incompatibilities. 2008-12-02 15:40:52 +01:00
Maarten Lankhorst 1470955cc5 wineoss.drv: Get rid of sizeof in traces. 2008-12-02 15:40:12 +01:00
Francois Gouget ec6f88b5c4 wineoss: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:10 +01:00
Aric Stewart e3e9bc30fd wineoss: Don't dereference a potentially NULL value in the WARN statement (Coverity 93). 2008-10-07 15:20:29 +02:00
Gerald Pfeifer e375b0c4a2 Add return statements to avoid gcc warnings. 2008-08-20 12:53:22 +02:00
Andrew Talbot ddfbe4ee1f wineoss.drv: Memory allocation sizes fix. 2008-05-12 11:42:31 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Francois Gouget 8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Andrew Talbot d2c602b27a wineoss.drv: Assign to structs instead of using memcpy. 2008-03-26 23:48:28 +01:00
Andrew Talbot 806867feec wineoss.drv: Remove unneeded casts. 2008-02-11 19:55:42 +01:00
Francois Gouget d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Austin English 0e4adae973 Spelling fixes. 2008-01-07 13:41:01 +01:00
Austin English 464258b7cd Spelling fixes. 2008-01-03 13:08:54 +01:00
Michael Stefaniuc aff83e69db wineoss.drv: Move a function wide variable down to the block it is used in. 2007-12-14 12:26:04 +01:00
Maarten Lankhorst 4ed3f22082 wineoss: Remove useless fixme shown on initialisation. 2007-10-09 17:52:46 +02:00
Maarten Lankhorst 58e26451db wineoss: Seperate wave-in and wave-outs shared use of a single OSS_DEVICE struct. 2007-10-01 12:43:45 +02:00
Francois Gouget 02b1ef8920 wineoss.drv: Add support for $MIDIDEV to match $AUDIODEV and $MIXERDEV. 2007-09-27 20:12:02 +02:00
Maarten Lankhorst cb92675953 wineoss: Only initialise midi once. 2007-09-27 12:49:23 +02:00
Maarten Lankhorst 30392be1e0 wineoss: Silence some harmless warnings. 2007-09-27 11:08:02 +02:00
Maarten Lankhorst b93cb5f3fa wineoss: Update sound caps. 2007-08-27 12:01:11 +02:00
Maarten Lankhorst 9c469e1a94 dsound: Handle failing of IDsDriver_CreateSoundBuffer better. 2007-08-20 22:22:10 +02:00
Maarten Lankhorst 33e1b6ffef dxguid: Remove dsdriver.h from imports. 2007-08-17 12:01:37 +02:00
Tijl Coosemans 3429068f35 wineoss: Avoid SNDCTL_DSP_GETTRIGGER. 2007-08-08 15:32:01 +02:00
Tijl Coosemans 0025960917 wineoss: Add SNDCTL_MIXERINFO support. 2007-08-08 15:32:01 +02:00
Maarten Lankhorst 7107a6969d wineoss: Make sure writepos < buflen for dsrender. 2007-07-27 12:23:35 +02:00
Christian Costa 8023a80ec3 wineoss.drv: Mark every buffer being added. 2007-06-06 12:11:43 +02:00
Ben Taylor 09208ca4ff wineoss: Fix to compile on Solaris 10. 2007-04-27 11:13:17 +02:00
Jan Zerebecki bab5279d38 wineoss.drv: Add DebugInfo to critical sections. 2007-03-12 13:40:48 +01:00
Bang Jun-Young 069e6c7063 wineoss.drv: config.h police. 2007-01-22 13:29:12 +01:00
Alexandre Julliard dc3961bc78 wineoss: Renamed the dlls/winmm/wineoss directory to dlls/wineoss.drv. 2007-01-10 13:46:14 +01:00