mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-31 17:34:14 +02:00
Goodbye, sweet rant
This commit is contained in:
parent
625227d0ce
commit
868af5ac6a
@ -15,13 +15,7 @@ sealed class SoundPlayerImplWMP : AudioPlayer{
|
|||||||
private bool ignorePlaybackError;
|
private bool ignorePlaybackError;
|
||||||
|
|
||||||
private WindowsMediaPlayer Player => wmp.Ocx;
|
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(){
|
public SoundPlayerImplWMP(){
|
||||||
owner = new Form();
|
owner = new Form();
|
||||||
wmp = new ControlWMP();
|
wmp = new ControlWMP();
|
||||||
|
Loading…
Reference in New Issue
Block a user