Results 1 to 5 of 5

Thread: how to use volume control in c#

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2006
    Posts
    116

    how to use volume control in c#

    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
    Last edited by vkkishore_s; Jun 3rd, 2006 at 04:52 PM. Reason: explanation

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: how to use volume control in c#

    Please always specify the .NET version you are using!

    you seem to post your question in many forums (Smart idea)
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: how to use volume control in c#

    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?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jun 2006
    Posts
    116

    Re: how to use volume control in c#

    i am using windows media player
    Attached Files Attached Files

  5. #5
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: how to use volume control in c#

    you can use a slider or NumericUpDown

    Code:
    AxWMPLib.AxWindowsMediaPlayer mp;
    mp.settings.volume--;//to decrease the volume
    mp.settings.volume++;//to increase it
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width