Go Back   nV News Forums > Hardware Forums > Home Theater A/V

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-09-11, 07:52 PM   #1
Rakeesh
 
Rakeesh's Avatar
 
Join Date: Jun 2004
Location: Sonoran Desert
Posts: 6,873
Default Attention audio listeners. (especially HDMI audio users)

Ever wanted to listen to audio while your monitor is off, but don't want to go into the power management settings to disable automatic sleep so that your music goes on forever uninterrupted, and then go back and turn it back on once you're done?

Then this little program I whipped up is for you.

Just run this program, and while the window is open, automatic sleep and monitor power down are disabled. This is especially useful for HDMI audio users like me who don't want their monitor to power off (which also turns off HDMI audio) while listening.

Simply close the window (which exits the program) and everything is back to normal. No going into the power management settings each time you want to toggle this. This program doesn't change any settings either so even in the event of abnormal program termination (e.g. power goes out) there's nothing to fix.

Source code is included. Probably requires .NET framework to work.

Based on code examples here.
Attached Files
File Type: zip NoDoz.zip (69.6 KB, 277 views)
__________________
Want to listen to audio without your computer going to sleep? Try this.

Core i7 2600k 4.4Ghz 1.385v | Corsair H60 | 8GB Corsair Vengeance 1600 8-8-8-24 | MSI P67A-G45 | OCZ Vertex 3 | Sapphire 7850 OC to Max settings

Rakeesh is offline   Reply With Quote
Old 04-09-11, 08:02 PM   #2
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default

Nice work. Probably requires admin privileges too. Is that right?
ViN86 is offline   Reply With Quote
Old 04-09-11, 08:04 PM   #3
Rakeesh
 
Rakeesh's Avatar
 
Join Date: Jun 2004
Location: Sonoran Desert
Posts: 6,873
Default Re: Attention audio listeners.

Quote:
Originally Posted by ViN86 View Post
Nice work. Probably requires admin privileges too. Is that right?
Nope.

It basically does the same thing that media players typically do when you watch a video, only they often don't do the same thing for audio.

Stuff like long flash videos, or pandora radio, or pretty much any browser based audio, typically doesn't disable monitor shut off or sleep, so you have to use some other means. I came up with this idea while I was trying to play some ambiance while working on my homework, and got tired of having to screw with the power management settings. About 15 minutes later, I had a working program, and I thought I'd share it.
__________________
Want to listen to audio without your computer going to sleep? Try this.

Core i7 2600k 4.4Ghz 1.385v | Corsair H60 | 8GB Corsair Vengeance 1600 8-8-8-24 | MSI P67A-G45 | OCZ Vertex 3 | Sapphire 7850 OC to Max settings

Rakeesh is offline   Reply With Quote
Old 05-19-11, 03:30 PM   #4
GamblerFEXonlin
polygons are fun!
 
GamblerFEXonlin's Avatar
 
Join Date: Jul 2002
Posts: 187
Send a message via ICQ to GamblerFEXonlin
Default Re: Attention audio listeners. (especially HDMI audio users)

Very nice! I understand that you need a video signal if you want audio over hdmi. Maybe this will be fixed in future hdmi spec release?
GamblerFEXonlin is offline   Reply With Quote
Old 05-19-11, 06:14 PM   #5
mullet
 
mullet's Avatar
 
Join Date: Oct 2005
Posts: 8,069
Default Re: Attention audio listeners. (especially HDMI audio users)

WOW you made that, your brain is huge!!!
__________________
• LIAN-LI PC-A70B • ASUS MAXIMUS V FORMULA (0701) • i7-3770k + NOCTUA|NH-D14 • Intel 520 240GB SSD • G.SKILL Ripjaws X Series 16GB DDR3 1600 •
• EVGA GeForce GTX 680 • PCP&C 750 Quad • ASUS BD-ROM • DELL U2711 H-IPS + DELL 2209WA e-IPS• Windows 7 Pro x64 SP1 • Logitech Z5500 5.1 •
mullet is offline   Reply With Quote
Old 05-19-11, 10:15 PM   #6
Rakeesh
 
Rakeesh's Avatar
 
Join Date: Jun 2004
Location: Sonoran Desert
Posts: 6,873
Default Re: Attention audio listeners. (especially HDMI audio users)

Quote:
Originally Posted by GamblerFEXonlin View Post
Very nice! I understand that you need a video signal if you want audio over hdmi. Maybe this will be fixed in future hdmi spec release?
Possibly, but I wouldn't count on it. Intel seems to be in this mindset that HDMI should only be used for video, with audio optional.
__________________
Want to listen to audio without your computer going to sleep? Try this.

Core i7 2600k 4.4Ghz 1.385v | Corsair H60 | 8GB Corsair Vengeance 1600 8-8-8-24 | MSI P67A-G45 | OCZ Vertex 3 | Sapphire 7850 OC to Max settings

Rakeesh is offline   Reply With Quote
Old 05-21-11, 08:51 AM   #7
technoid
Registered User
 
Join Date: Jul 2004
Location: Denton, Texas
Posts: 505
Default Re: Attention audio listeners. (especially HDMI audio users)

This requires .NET framework version 4 to be installed.

I'm curious, does what you create this with have the option to build it for .NET framework 3 or does it require 4? Most everyone already has .NET 3 on their system but many have not upgraded to 4. Including me of course.
__________________
Antec-SOLO | ASUS-P5Q-SE | C2D-E8600 | AC-Freezer-7-Pro | Seasonic-S12-550W | 3GB-KVR-PC2-6400 | GTX-560Ti | SB-XtremeGamer | Pioneer-BDR-205 | Samsung-S223B | Dell-U2412M
technoid is offline   Reply With Quote
Old 05-25-11, 01:46 AM   #8
Rakeesh
 
Rakeesh's Avatar
 
Join Date: Jun 2004
Location: Sonoran Desert
Posts: 6,873
Default Re: Attention audio listeners. (especially HDMI audio users)

Quote:
Originally Posted by technoid View Post
This requires .NET framework version 4 to be installed.

I'm curious, does what you create this with have the option to build it for .NET framework 3 or does it require 4? Most everyone already has .NET 3 on their system but many have not upgraded to 4. Including me of course.
Honestly I don't really know, I'm not an expert with visual studio by any stretch, just experienced with C and recently learned C# as part of my degree program (that and my school just gave me a copy of visual studio pro for free.) Coincidentally, hooking into the kernel API is trivial with C# compared to regular C, hence my decision to use it. I don't even really know much about the .NET framework at all; C# doesn't really require you to. I'll play around with the build options later and see if I can find anything interesting though.
__________________
Want to listen to audio without your computer going to sleep? Try this.

Core i7 2600k 4.4Ghz 1.385v | Corsair H60 | 8GB Corsair Vengeance 1600 8-8-8-24 | MSI P67A-G45 | OCZ Vertex 3 | Sapphire 7850 OC to Max settings

Rakeesh is offline   Reply With Quote

Old 05-25-11, 10:42 AM   #9
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: Attention audio listeners. (especially HDMI audio users)

Quote:
Originally Posted by Rakeesh View Post
Honestly I don't really know, I'm not an expert with visual studio by any stretch, just experienced with C and recently learned C# as part of my degree program (that and my school just gave me a copy of visual studio pro for free.) Coincidentally, hooking into the kernel API is trivial with C# compared to regular C, hence my decision to use it. I don't even really know much about the .NET framework at all; C# doesn't really require you to. I'll play around with the build options later and see if I can find anything interesting though.
Framework version is an option when you setup the project.
ViN86 is offline   Reply With Quote
Old 05-25-11, 10:52 AM   #10
lduguay
Un-Ripped
 
Join Date: Oct 2004
Location: Montreal, Canaduh!
Posts: 1,968
Default Re: Attention audio listeners. (especially HDMI audio users)

Just open your Project Properties

Attached Thumbnails
Click image for larger version

Name:	Framework.jpg
Views:	1102
Size:	79.9 KB
ID:	42827  
__________________

Evga X58|I7 965 3.8GHz|Ultra 120 Extreme|Evga GTX 480 SC|2 x Intel X25-M 80GB RAID 0|Intel 520 - 240 GB|WD Black Caviar 1TB|6GB Corsair XMS3 1600C8 |Corsair 1000W PSU|Antec Twelve-Hundred|DELL U3011|Logitech G500|Logitech G19
lduguay is offline   Reply With Quote
Old 05-26-11, 12:59 PM   #11
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: Attention audio listeners. (especially HDMI audio users)

Quote:
Originally Posted by lduguay View Post
Just open your Project Properties

Bingo. Thanks lduguay.
ViN86 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:56 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.