Results 1 to 3 of 3

Thread: Control volume of embedded wavs

  1. #1

    Thread Starter
    Lively Member Jackrabbit319's Avatar
    Join Date
    Sep 2004
    Location
    PA
    Posts
    80

    Control volume of embedded wavs

    Hi all. Before my head splits in two from searching for an answer, I wanna run this by anyone who may know.

    I'm made a form that has embedded wavs in a .res file. I figured out how to play them using command buttons but I can't find anything on how to control the volume of the emedded wavs that does'nt also control the mater volume of Windows also.

    I have a slider control on my form and a module, but the module is coded to control the master volume.

    How can I edit this so that it ONLY controls the volume output of the wavs within my form without changing any of my windows volume settings?

    Or do I need a completely differnt module?
    Attached Files Attached Files
    Life is proof that God has a sick sence of humor.

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Control volume of embedded wavs

    I know it can be done with DirectX, the DirectX dll accepts a level value, but I have no idea how to do it.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  3. #3

    Thread Starter
    Lively Member Jackrabbit319's Avatar
    Join Date
    Sep 2004
    Location
    PA
    Posts
    80

    Re: Control volume of embedded wavs

    I want to set it up like where it only controls the volume of the wav that's played in my form without effecting my Windows audio settings.

    For example, I use Winamp and it has it's own volume control that does'nt effect my Windows volume settings. If I wanna play a wav or mp3 in Winamp and crank it up to say 100 %, my Windows volume settings will still be uneffected.
    Life is proof that God has a sick sence of humor.

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