Answer the question
In order to leave comments, you need to log in
C# SoundPlayer, how to set *.wav sound volume?
Hello everyone, I have to press the button to play the .wav file, how can I set the volume in the parameters, otherwise I don’t want to reduce it in the db file itself. And I won't do it every time.
SoundPlayer click = new SoundPlayer(Properties.Resources.click); // импортируем наш звук из файла Resource
click.Load(); // загружаем его
click.Play(); // и проигрываем, только как громкость указать?
Answer the question
In order to leave comments, you need to log in
https://stackoverflow.com/questions/50521363/sound...
https://social.msdn.microsoft.com/Forums/vstudio/e...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question