1

I'm trying to set the balance of my WindowsMediaPlayer (WindowsMediaPlayer Player) with a slider (ColorSlider PanSlider) like this:

Player.settings.balance = PanSlider.Value;

And litterally, nothing happens 'balance-wise.' The sound stays perfectly centered. I've checked and they both output the expected values (-100 ... 100).

Also, Player.settings.isAvailable["balance"] returns true.

Any ideas?

Christian Lundahl
  • 2,000
  • 3
  • 18
  • 29
  • As it turns out, AxWindowsMediaPlayer har no problem dealing with this, however, the mere thought of the process of rewriting all code that breaks if I change from WMP to AWMP does not appeal to me so the question stands. – Christian Lundahl Jun 22 '16 at 07:51
  • I was going to put a bounty on this question, but then I got really bored late last night and I rewrote the program to utilize AxWindowsMediaPlayer instead. – Christian Lundahl Jun 23 '16 at 10:56

1 Answers1

0

You can Use :

Player.settings.balance = (int)PanSlider.Value;
Josef
  • 2,869
  • 2
  • 22
  • 23
Sanuka
  • 1
  • I don't think your answer actually addresses the question. Have you verified that it works? – JonC May 03 '21 at 10:41