Indigo Rose Software

Professional Software Development Tools

 
Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 31
  1. #1
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137

    DLL Set Master Volume (of system)! - Intrigued

    I found some delphi code post to a Website and I changed it some and then compiled it so that we can now Set the Master Volume for the system! So, all sounds that play through the speakers can be affected.

    Project file (AMS 6 .apz):
    http://www.amsuser.com/ams/examples/...-Intrigued.apz


    Executable example:
    http://www.amsuser.com/ams/examples/...-Intrigued.exe
    Intrigued

  2. #2
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    An example use that is off the beaten path, maybe.

    To fade-in sound(s):

    Code:
    v = 68000
    
    for i = 1, v, -100 do
    	DLL.CallFunction("AutoPlay\\Docs\\DLLSetMasterVolume.dll", "SETMV", i, DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)
    end
    To fade-out sounds(s):

    Code:
    v = 68000
    
    for i = 1, v, 100 do
    	DLL.CallFunction("AutoPlay\\Docs\\DLLSetMasterVolume.dll", "SETMV", i, DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)
    end
    Intrigued

  3. #3
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    If you search the forums, you'll find a DLL I wrote back in the day of AMS4 that sets the volume of the Master, Wave, CD, Mic and Line. It was my first DLL for AMS, so it holds a special place in my heart

  4. #4
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    I remember that! Wow, how time flies...

  5. #5
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    I found your post but you stated it is for the Wave portion and nothing about the Master Volume (Volume Control column in Win XP).

    Allows you to control the Wave Volume from within your application.
    Which is posted here:

    http://www.indigorose.com/forums/sho...24&postcount=1
    Last edited by Intrigued; 12-22-2005 at 03:00 AM.
    Intrigued

  6. #6
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Forsooth! How doth thou riposte good sir Worm?

  7. #7
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Yep that was the original post, a couple days later I took it a little further...

    http://www.indigorose.com/forums/sho...=master+volume

  8. #8
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Egads! O what epic plots thicken in the morning glow.

  9. #9
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    For grins... here is an example from one of my very first AMS5 projects.
    Attached Files

  10. #10
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Gadzooks!

  11. #11
    Join Date
    Oct 2005
    Location
    American Dubai
    Posts
    629
    Quote Originally Posted by Worm
    Yep that was the original post, a couple days later I took it a little further...

    http://www.indigorose.com/forums/sho...=master+volume
    nice stuff
    but when i try to download, it requires a username+password

  12. #12
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    From the old v4 post? If so, then I probably have changed the structure of my web content since then. Back then, we couldn't upload to the forum.

    Download the above APZ, and it'll show you how to use it. The old download would have been a AMS4 app anyhow.

  13. #13
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Okay, worm. This is what I was working on tonight and then I checked into what your DLL had as far as functions and it seems like the same except for I was to have the ability to see what the current values are for some if not all of the volume control sliders.

    You have (see: attachment)

    Attached Images
    Intrigued

  14. #14
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    I don't understand, the DLL I posted does Get the different volume levels... am I missing something?

  15. #15
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    *Ah, taps iPod earbuds, Houston *crackling sound*, brea...k...ing..up. Lost data in transmi... ssio...n*

    Ack! So true Worm. I totally looked past (is there such a thing as "selective sight", like "selected hearing"? )

    My bad, thanks for catching such. I just saved more time this weekend. Hey, you got the wheel, why try to improve on it!

    Intrigued

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. DLL CustomBeep - Intrigued
    By Intrigued in forum AutoPlay Media Studio 5.0
    Replies: 8
    Last Post: 07-04-2005, 12:34 PM
  2. Function: Increase/Decrease Audio Playback Volume
    By Adam in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-31-2004, 02:28 PM
  3. Function: Increase/Decrease Video Playback Volume
    By Adam in forum AutoPlay Media Studio 5.0 Examples
    Replies: 1
    Last Post: 05-14-2004, 12:18 PM
  4. Set the volume of WM Player 9?
    By Crash_Davenport in forum AutoPlay Media Studio 4.0
    Replies: 12
    Last Post: 08-08-2003, 05:17 AM
  5. Replies: 16
    Last Post: 01-14-2003, 11:40 AM

Posting Permissions

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