Skip to content

Audio device picker#2028

Merged
diogotr7 merged 7 commits intoantonpup:devfrom
Wibble199:feature/audio-device-picker
Jun 2, 2020
Merged

Audio device picker#2028
diogotr7 merged 7 commits intoantonpup:devfrom
Wibble199:feature/audio-device-picker

Conversation

@Wibble199
Copy link
Collaborator

Adds the ability to select which audio device to use for individual audio visualizer layers and globally for the local pc information game state.

Wibble199 added 6 commits May 19, 2020 12:12
Helps with easily swapping devices on-the-fly.
…or the local pc inf game state.

Changing the gamestate device requires a restart.
This allows re-creating the MMDevice on the correct thread. The device is only recreated if the ID has changed, so the only overheard of calling it each frame is a string comparison.
How dumb am I to not notice this bug at first... :(
@Bluscream
Copy link

Fixes #1784 and #1975

@diogotr7 diogotr7 merged commit bf1db63 into antonpup:dev Jun 2, 2020
@Wibble199 Wibble199 deleted the feature/audio-device-picker branch June 25, 2020 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants