topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday December 10, 2024, 4:04 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: C# Help Needed.  (Read 3253 times)

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,761
    • View Profile
    • Donate to Member
C# Help Needed.
« on: October 25, 2014, 06:10 PM »
Long story short...

I am trying to do something which, because of the WebCore I am using, has left me with very VERY few options as to how I can achieve it.

Basically I am trying to hook "Desktop Notifications" sent to the client via a website (Usually sent by websites which heavily rely on WebSockets).

My problem is...Awesomium (The WebCore I use) is very badly documented...and the information I HAVE found, is leading me to believe this isn't possible.

SO...What I need to do...Is something like have my Software know when it activates the soundcard (It sounds a beep when a notification is received) - That way I can provide the visual popup window using a different method (Therefore re-creating the functionality one would otherwise receive).

Does anybody know of ANY method I could use in order to somehow register when the Software activates the Audio Device in order to play the "Beep" (It shows in Mixer Settings) so I can actually do something when that has happened?

In fake-code, I would want to do something like this:

Code: C# [Select]
  1. if (AudioBeep.IsPlaying == true)
  2. {
  3. //Do Something
  4. }
  5. else
  6. {
  7. //Do Something Else.
  8. }

Any help would be HUGELY appreciated!!!

sujayg

  • Participant
  • Joined in 2013
  • *
  • Posts: 5
    • View Profile
    • Donate to Member
Re: C# Help Needed.
« Reply #1 on: December 12, 2014, 12:29 AM »
I maybe late, but have a look at this - http://www.codeproje...vices-Using-winmm-dl