Commit Graph

71 Commits

Author SHA1 Message Date
Alistair Leslie-Hughes 955ac88849 dmime: Always set a minimum timeout in IDirectMusicPerformance8::SetNotificationHandle.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-02 23:45:08 +02:00
Alistair Leslie-Hughes eabb3d444c dsound: Primary buffer doesn't support flag DSBCAPS_CTRLFX.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=40740
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-27 14:50:23 +02:00
Michael Stefaniuc 14f899317a dmime: Initialize dmusic in InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-12 18:01:53 +02:00
Michael Stefaniuc 3505137d24 dmime: Add proper error handling to InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-12 18:01:51 +02:00
Michael Stefaniuc 01c6b4fe64 dmime: Forward Init() to InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc 3236e4ccab dmime: Finish the cleanup of InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc 26011d2d3e dmime: Do not use Init() from InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc 3a145ac92b dmime: Finish the reindentation in CloseDown().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc 9572b5f6d3 dmime: Avoid a temporary variable in IDirectMusicPerformance8Impl_InitAudio().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc a2685a8bc0 dmime: Simplify the check if the performance was initialized.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:49 -05:00
Michael Stefaniuc 9a90a3e8e5 dmime: Properly use SetCooperativeLevel() on the dsound ifaces we create.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-04 17:26:04 +02:00
Michael Stefaniuc 8788061b10 dmime: Avoid using the COM method implementations directly.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 20:47:47 +09:00
Michael Stefaniuc 07cee87e8f dmime: Use debugstr_guid() to trace a REFIID.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 20:33:18 +09:00
Michael Stefaniuc 5433a2c054 dmime: Don't set DSBCAPS_CTRLPAN together with DSBCAPS_CTRL3D.
Troubleshooted by Michael Müller.
Fixes a regression caused by 0e5dcc2c84.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 19:54:16 +09:00
Sebastian Lackner cd5f11e941 dmime: Properly set primary dsound buffer in IDirectMusicPerformance8Impl_CreateStandardAudioPath.
Fixes a regression introduced by b3d1b1f239.
2015-05-14 19:27:00 +09:00
Nikolay Sivov b3d1b1f239 dmime: Don't expose IDirectMusicAudioPath impl details. 2015-04-28 19:07:35 +09:00
Marcus Meissner b20365ee29 dmime: Remove useless NULL check (Coverity). 2014-07-22 12:41:22 +02:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Michael Stefaniuc 2343eeff91 dmime: None of the COM classes support COM aggregation. 2014-01-10 12:06:41 +01:00
Christian Costa 1acf5a0401 dmime: Rename params in IDirectMusicPerformance8Impl_AssignPChannel & IDirectMusicPerformance8Impl_PChannelInfo. 2012-09-21 18:29:25 +02:00
Andrew Eikum 629e857c2e dmime: Don't try to create a standard audio path if the client didn't ask for one. 2012-04-19 12:00:52 +02:00
Michael Stefaniuc a84245463a dmime: Move struct IDirectMusicPerformance8Impl to the c file. 2012-04-02 12:41:21 +02:00
Michael Stefaniuc 0ea219429f dmime: DirectMusicPerformance doesn't supports COM aggregation. 2012-04-02 12:41:08 +02:00
Michael Stefaniuc 5bd335668d dmime: COM cleanup for IDirectMusicPerformance8. 2012-04-02 12:41:04 +02:00
Christian Costa afbf28940c dmime: Check return code of CoCreateInstance in Init method. 2012-03-29 20:49:20 +02:00
Austin Lund 5b27cdf93b dmime: Ensure IDirectMusicPort is initialised when calling IDirectMusicPerformance::PChannelInfo. 2010-08-16 17:28:55 +02:00
Michael Stefaniuc 49177a0958 dmime: Remove superfluous pointer casts. 2009-01-13 15:26:23 +01:00
Michael Stefaniuc 4bfb33ec73 include: Change MUSIC_TIME from long to LONG for Win64 compatibility.
Fix also 192 printf format warnings produced by this change.
2009-01-10 17:43:10 +01:00
Christian Costa 7ed6f0a643 dmime: Improve IDirectMusicPerformance8Impl_PlaySegment(Ex) stubs. 2008-12-15 12:31:14 +01:00
Christian Costa 12f5a30833 dmime: Make stub returns a error to avoid crashing. 2008-11-28 13:38:08 +01:00
Michael Stefaniuc 4f199a10ad Remove the remaining casts of NULL. 2008-11-03 13:42:09 +01:00
Andrew Talbot 3bf289aecc dmime: Indirection levels fix. 2008-08-18 17:15:55 +02:00
Andrew Talbot a73ab629e9 dmime: Remove unused variables. 2008-04-16 14:08:16 +02:00
Austin English 06d429d6b6 Spelling fixes. 2008-03-27 20:48:19 +01:00
James Hawkins c2a627c6e8 janitorial: Remove links to any microsoft site. 2008-03-01 12:17:07 +01:00
Andrew Talbot 13afbc02b6 dmime: Assign to structs instead of using memcpy. 2008-02-25 13:27:14 +01:00
Andrew Talbot 301b867909 dmime: Remove unneeded casts. 2007-12-08 19:53:56 +01:00
Alexandre Julliard 7718d2bd7c dmusic: Fix license headers that mistakenly use GPL instead of LGPL.
Confirmed by the original author and the major contributors.
2007-05-30 12:54:07 +02:00
Jan Zerebecki 93a4c27336 dmime: Add DebugInfo to critical sections. 2007-03-08 22:21:46 +01:00
Andrew Talbot e907b06b87 dmime: Remove unused variable. 2007-01-22 12:09:06 +01:00
Michael Stefaniuc 891e016653 dmime: Win64 printf format warning fixes. 2006-10-10 16:11:37 +02:00
Stefan Leichter 7262a86ceb dmime: Print 64bit integers with wine_dbgstr_longlong. 2006-09-21 11:16:55 +02:00
Samuel Lidén Borell 5d67651a71 dmime: Accept IDirectMusicPerformance2 in QueryInterface. 2006-07-26 10:25:03 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Raphael Junqueira c329e17ba4 Partial implementation of IDirectMusicPerformance8Impl_AddPort. 2005-11-28 10:36:41 +01:00
Mike McCormack 06e23dad02 - use interfaces rather than internal functions
- remove declaration of AddRef and QueryInterface functions from
  headers
2005-06-21 09:44:28 +00:00
Mike McCormack ff536fbe42 Make functions static. 2005-06-20 16:01:04 +00:00
Dmitry Timoshkov 247246ede7 Make more of the OLE interface vtables const. 2005-05-30 10:01:08 +00:00
James Hawkins 1727eb485e Properly implement DllCanUnloadNow ref counting. 2005-02-02 09:31:06 +00:00
Paul Vriens 3da8524bb4 - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-11 16:02:21 +00:00