Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Use custom AudioMixer on UWP #534

Merged
merged 2 commits into from
Aug 14, 2020
Merged

Use custom AudioMixer on UWP #534

merged 2 commits into from
Aug 14, 2020

Conversation

fibann
Copy link
Member

@fibann fibann commented Aug 14, 2020

Fixes #371.

@fibann fibann requested a review from djee-ms August 14, 2020 15:46
@@ -251,6 +252,8 @@ mrsResult GlobalFactory::InitializeImplNoLock() {
factoryConfig->audioCapturingEnabled = true;
factoryConfig->audioRenderingEnabled = true;
factoryConfig->enableAudioBufferEvents = false;
factoryConfig->customAudioMixer =
reinterpret_cast<uint64_t>(custom_audio_mixer_.get());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably won't build in 32-bit archs

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It turns out it is correct but produces a warning. Fixed.

@fibann fibann requested a review from djee-ms August 14, 2020 17:02
@fibann fibann merged commit d68a625 into microsoft:master Aug 14, 2020
@fibann fibann deleted the uwp-mixer branch August 14, 2020 17:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prevent automatic remote audio output on UWP
2 participants