This project has moved and is read-only. For the latest updates, please go here.

How to use the NAudio.Gui.VolumeMeter from another Form

Apr 23, 2014 at 10:13 PM
Edited Apr 23, 2014 at 10:14 PM
I'm using the NAudio.dll to play mp3 files in C#, and I have all the controls, and the volume meters showing up in my main Form1, but I also have a Form2, where I need to show those volume meters as well.

The main form have the volume meters from control NAudio.Gui.VolumeMeter

Does anybody with NAudio code knowledge knows how to achieve this?

Apr 29, 2014 at 10:12 PM
You'd need to implement your own messaging strategy to send a message to the controls on the other form. But essentially when you get the volume notifications, update controls on both forms.