mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-26 06:20:24 +00:00
Fix audio player device switching
This commit is contained in:
parent
65732387fc
commit
15dca5a055
1 changed files with 2 additions and 0 deletions
|
@ -467,6 +467,8 @@ namespace Toolbox.Library.Forms
|
||||||
|
|
||||||
private void audioDevice_SelectedIndexChanged(object sender, EventArgs e)
|
private void audioDevice_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
if (audioDevice.SelectedItem != null && audioDevice.SelectedItem is MMDevice)
|
||||||
|
activeDevice = (MMDevice)audioDevice.SelectedItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void channelCB_SelectedIndexChanged(object sender, EventArgs e)
|
private void channelCB_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
|
Loading…
Reference in a new issue