-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow users to select their listening device. This is to support users using VoiceMeeter and controlling the audio output streams from different game clients.
- Loading branch information
Showing
11 changed files
with
787 additions
and
482 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace VXMusic.Audio.Device; | ||
|
||
public class AudioDevice | ||
{ | ||
public string DeviceFriendlyName { get; set; } | ||
public bool IsDefaultAudioDevice { get; set; } | ||
|
||
public override string ToString() | ||
{ | ||
return $"Device Name: {DeviceFriendlyName} | IsDefault: {IsDefaultAudioDevice}"; | ||
} | ||
|
||
public static AudioDevice Default = new AudioDevice() { DeviceFriendlyName = "Default (Everything)", IsDefaultAudioDevice = true }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.