Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Auto volume on startup

  1. #1
    Variable Bitrate
    Join Date
    Sep 2004
    Location
    Slovenia (EU)
    Posts
    312

    Auto volume on startup

    Hi, here is an Auto Volume on startup plugin.
    It puts volume to preset value on startup. Handy in sleepy mornings

  2. #2
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,695
    stric: good job. Are you taking requests for other plugins? I have a few simple ones in mind.
    2002 Honda CR-V
    Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
    Spent so far: $1105.90


    Download the NEXUS Skin for Centrafuse
    ...or even Listen to my music

  3. #3
    Variable Bitrate
    Join Date
    Sep 2004
    Location
    Slovenia (EU)
    Posts
    312
    You can tell, but first I must work on Calendar, and maybe scientific version of Calc(not soon). And I have a lot of work for school right now, so...

  4. #4
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,695
    Would you be willing to take on a slightly larger project? I would provide a ton of help with skins, images, layout, design...

    This one: Plug-in request: Vehicle Maintenance (for the gifted coders out there)
    2002 Honda CR-V
    Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
    Spent so far: $1105.90


    Download the NEXUS Skin for Centrafuse
    ...or even Listen to my music

  5. #5
    Lum
    Lum is offline
    Variable Bitrate Lum's Avatar
    Join Date
    Jan 2005
    Location
    Liverpool, England
    Posts
    334
    Does this work on resume from hibernate too?

    If so I'll have to get this to solve the full volume on startup issue I've been having

  6. #6
    Variable Bitrate
    Join Date
    Sep 2004
    Location
    Slovenia (EU)
    Posts
    312
    Hmm, I am not sure cause I am not using hibernate, but I don't think it will work. If you try let me know.

  7. #7
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    Quote Originally Posted by stric View Post
    Hmm, I am not sure cause I am not using hibernate, but I don't think it will work. If you try let me know.
    This could easily be added to this plugin quickly... You can add an on/off button in settings that says whether to apply on resume from hibernation...

    Then there is an easy event for you to add to the plugin that lets you know when Centrafuse is resuming were you can place the exact code you run when the plugin starts...

    david
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  8. #8
    Variable Bitrate
    Join Date
    Sep 2004
    Location
    Slovenia (EU)
    Posts
    312
    David, could you tell me what is called when system is resuming? Or at least give me some directions. (I couldn't find anything useable in SDK help)

  9. #9
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    Quote Originally Posted by stric View Post
    David, could you tell me what is called when system is resuming? Or at least give me some directions. (I couldn't find anything useable in SDK help)
    It's just one of the CF Events...

    Place this in CF_pluginInit():

    this.CF_Event_powerModeChanged += new Microsoft.Win32.PowerModeChangedEventHandler(obdii _CF_Event_powerModeChanged);

    Then put this function somewhere:

    private void volume_CF_Event_powerModeChanged(object sender, Microsoft.Win32.PowerModeChangedEventArgs e)
    {
    if(e.Mode == Microsoft.Win32.PowerModes.Resume)
    {
    //run code to adjust volume here
    }
    }

    There are other members of that enumeration such as PowerModes.Standby, etc... So you can do things when it is going down or coming back up...

    david
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  10. #10
    Variable Bitrate
    Join Date
    Sep 2004
    Location
    Slovenia (EU)
    Posts
    312
    Thanks David.

    On the link in first post should be new version which has option for setting volume on resume. I think it should work on resuming from Stand by and Hibernate. I have some problems with setting my machine to Standby, so let me know if it is not working.

    stric

Page 1 of 3 123 LastLast

Similar Threads

  1. Survey: Startup times and methods
    By gnomad in forum General MP3Car Discussion
    Replies: 56
    Last Post: 01-02-2007, 12:55 PM
  2. auto volume control
    By Phythorian in forum Road Runner
    Replies: 27
    Last Post: 07-22-2005, 06:36 PM
  3. winamp auto volume?
    By boostedGT-S in forum Road Runner
    Replies: 3
    Last Post: 07-12-2005, 09:00 PM
  4. Problem: Master Volume at 100% at startup
    By digitboy74 in forum Road Runner
    Replies: 3
    Last Post: 05-03-2005, 03:24 PM
  5. Safe Volume at Startup Feature
    By shakes in forum MediaCar
    Replies: 0
    Last Post: 04-15-2004, 10:55 PM

Bookmarks

Posting Permissions

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