On Sun Aug 20 15:44:13 2023 +0000, Nikolay Sivov wrote:
> It does. What I mean is when player (I tried mfplay one) is stopped,
> SetPosition() does not do anything, only stores specified position. When
> it's playing, source is stopped and the started at new position, when
> it's paused source is stopped, started at new position, and then paused.
I just tried it with a custom source on Windows 10. It always stops the source and then starts it, even when paused. However, no MESessionStopped events are sent. So this is merely how IMFMediaSession calls IMFMediaSource. The thing is do we really need to mimic this? Even if it can be done with a IMFMediaSource::Start()?
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3572#note_42808
Several items here were encoded conditionally even though they aren't marked as optional in the spec.
I put the tests into the same commit as the fix because the helper function used throughout the file, check_param, does not support marking only some of the tests inside of it as todo_wine.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3620
Signed-off-by: Torge Matthies <openglfreak(a)googlemail.com>
--
v4: loader: Add Default, Failed, and LastKnownGood values to HKLM\System\Select.
server: Update existing prefixes to use a symlink for HKLM\System\CurrentControlSet.
server: Create link from HKLM\System\CurrentControlSet to ControlSet001.
advapi32/tests: Add test for CurrentControlSet link.
https://gitlab.winehq.org/wine/wine/-/merge_requests/3563
Since Yousician's last update, it was throwing an error when initialising audio output. Unfortunately I don't have access to the old version, but they seem to have dropped win<10 support, and are using only IAudioClient3_InitializeSharedAudioStream. They also use IDeviceTopology to get the type of the first output connector.
This is the bare minimum I needed to get it working.
--
v6: mmdevapi: add stub for IDeviceTopology
mmdevapi/tests: add test for IDeviceTopology
mmdevapi: implement IAudioClient3_InitializeSharedAudioStream
mmdevapi/tests: add test for AudioClient3_InitializeSharedAudioStream
https://gitlab.winehq.org/wine/wine/-/merge_requests/3554
On Sun Aug 20 15:35:54 2023 +0000, Zhiyi Zhang wrote:
> > Actually, did you test this with a custom source?
> No. I will look into that. Thanks.
> > depending on a the player state it's either Stop->Start->Pause or Stop->Start
> IMFMediaSession::Start() always starts the session though.
It does. What I mean is when player (I tried mfplay one) is stopped, SetPosition() does not do anything, only stores specified position. When it's playing, source is stopped and the started at new position, when it's paused source is stopped, started at new position, and then paused.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3572#note_42794
> Actually, did you test this with a custom source?
No. I will look into that. Thanks.
> depending on a the player state it's either Stop->Start->Pause or Stop->Start
IMFMediaSession::Start() always starts the session though.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3572#note_42793