MasterAirscrach
MasterAirscrach
CC#
Created by MasterAirscrach on 3/21/2024 in #help
How to change the Windows Default Audio Output
No description
1 replies
CC#
Created by MasterAirscrach on 10/8/2023 in #help
❔ Global Listener for the media key (play/pause)
I made a music player in unity (because easy ui) it works great but i have no clue how to setup a global keybind for play/pause (unity inputs doesnt have it)
47 replies
CC#
Created by MasterAirscrach on 5/22/2023 in #help
How To Catch an invalid Unicode Char
making a twitch bot but sometimes messages are terminated with a weird invalid Unicode char \U000e000 i want to remove that char from the string but dont know how to catch it as message.Replace('\U000e000', (char)32) is invalid
1 replies
CC#
Created by MasterAirscrach on 12/19/2022 in #help
❔ Play Overlapping Sound
i have a sound function that plays a sound from file, but if i call it while its playing it cuts off the last sound to play the new one?
void PlaySound(string sound)
{
var player = new System.Media.SoundPlayer(sound);
player.Play();
}
void PlaySound(string sound)
{
var player = new System.Media.SoundPlayer(sound);
player.Play();
}
.NET Framework 4.8
3 replies