Alistair Leslie-Hughes
b075088ec5
dmime: IDirectMusicPerformance8 GetGraph return DMUS_E_NOT_FOUND if graph not set.
...
Just ensure the pointer and return value are correct from GetGraph. I plan
to extend these tests at a later date. The tests also show that IDirectMusicPerformance8
has a internal IDirectMusicGraph implementation, returned via QueryInterface.
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>
2020-03-20 12:09:38 +01:00
Alistair Leslie-Hughes
b28512f6c7
dmime: Free more interfaces in IDirectMusicPerformance FreePMsg.
...
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>
2020-03-17 09:01:44 +01:00
Michael Stefaniuc
d3a0cd77d8
dmime: Implement IDirectMusicPerformance8_PChannelInfo().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-16 20:54:55 +01:00
Michael Stefaniuc
3dd2912874
dmime: Create a port in the perf CreateStandardAudioPath().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-16 20:54:53 +01:00
Michael Stefaniuc
d966413a49
dmime: Split out the perf default port creation.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-16 20:54:50 +01:00
Michael Stefaniuc
02d6dae4f1
dmime: Get rid of the DMUSIC_PRIVATE_PCHANNEL typedef.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-27 14:41:15 +01:00
Alistair Leslie-Hughes
55827134d1
dmime: IDirectMusicPerformance8_FreePMsg Release the unknown pointer.
...
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>
2020-01-22 10:20:46 +01:00
Michael Stefaniuc
9b6a456381
dmime: Use a rbtree to store the PChannels of a performance.
...
The PChannel id is a 32bit, potentially random identifier and not an
array index.
Fixes also the handling of channel group "dwGroup" 0. As it is invalid
it is used to mark uninitialized PChannels.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=17766
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=24740
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=31562
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-20 10:32:25 +01:00
Michael Stefaniuc
adb1a3f54c
dmime: Use the debug functions provided by dmobject.[ch].
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 08:32:47 +01:00
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