1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-05-08 02:34:06 +02:00

Goodbye, sweet rant

This commit is contained in:
chylex 2017-08-28 18:19:32 +02:00
parent 625227d0ce
commit 868af5ac6a

View File

@ -15,13 +15,7 @@ sealed class SoundPlayerImplWMP : AudioPlayer{
private bool ignorePlaybackError;
private WindowsMediaPlayer Player => wmp.Ocx;
// changing the player volume also affects the value in the Windows mixer
// however, the initial value is always 50 or some other stupid shit
// so we have to tell the player to set its volume to whatever the mixer is set to
// using the most code required for the least functionality with a sorry excuse for an API
// thanks, Microsoft
public SoundPlayerImplWMP(){
owner = new Form();
wmp = new ControlWMP();