PDA

Click to See Complete Forum and Search --> : how to use volume control in c#


vkkishore_s
Jun 3rd, 2006, 04:35 PM
dear friends

i developed a small application(in C# 2005) that will run mp3 files.friends plz tell me how to add volume control and equalizers to my application


thanking u very much

kishore

ComputerJy
Jun 3rd, 2006, 04:47 PM
Please always specify the .NET version you are using!

you seem to post your question in many forums (Smart idea)

jmcilhinney
Jun 3rd, 2006, 06:54 PM
No not a smart idea. It is a pain in the butt and against the spirit of forums in general. Let's say I take the time and go to the effort of providing a solution to your question here, only to find out that someone else has already provided the same information in another thread you started in another forum. That would really annoy me. One question = one thread. Post in the most appropriate forum for the question you're asking.

Having said all that, you haven't given any indication of how you're playing these MP3 files so we cannot possibly know the best way to adjust volume. Are you using Windows Media Player, MCI or some other way?

vkkishore_s
Jun 3rd, 2006, 07:09 PM
i am using windows media player

ComputerJy
Jun 3rd, 2006, 07:52 PM
you can use a slider or NumericUpDown

AxWMPLib.AxWindowsMediaPlayer mp;
mp.settings.volume--;//to decrease the volume
mp.settings.volume++;//to increase it