Silent stream bug? - AVS Forum
Forum Jump: 
Reply
 
Thread Tools
post #1 of 130 Old 02-24-2011, 07:01 AM - Thread Starter
Member
 
MarcD2K11's Avatar
 
Join Date: Feb 2011
Posts: 84
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 20

AVR Audio Guard

Download at www.marcsapps.co.uk

 

AVR Audio Guard is a Windows program that fixes the "Silent Stream Bug" that

affects many owners of Audio Devices attached to A/V receivers, especially those

with Nvidia High Definition Audio devices on their Graphics card.

 

Formerly known as AVR Audio Switch Fix, I recently made huge changes to the

way the program works so that it is more responsive, less system intensive and

far more resilient. I felt that after effectively rewriting the entire program, since

the code was all new, the name should be too.

 

So AVR Audio Guard  was born, and you can find it on my new site:

www.marcsapps.co.uk

 

If you like the program, or the site, please click the "Like" button in the top

right corner of the site to spread the word among your Facebook friends.

 

Please note: because the site is new, some over eager AV/Firewall products

will warn you that the downloads may be unsafe, but they are perfectly fine.

adrift, nvidio and skuppy like this.
MarcD2K11 is offline  
Sponsored Links
Advertisement
 
post #2 of 130 Old 02-24-2011, 07:50 AM
AVS Special Member
 
whiteboy714's Avatar
 
Join Date: Feb 2009
Posts: 4,602
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 8 Post(s)
Liked: 16
I was using the "ati anti pop" app from the slysoft forum. I think it did something similar to yours to stop the constant click of the receiver.

But SP1 seemed to fix it for me so I stopped running it.
whiteboy714 is offline  
post #3 of 130 Old 02-24-2011, 07:58 AM - Thread Starter
Member
 
MarcD2K11's Avatar
 
Join Date: Feb 2011
Posts: 84
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 20
ah yes, didn't know someone had already written something, not very obviously named is it?

he says it only works for ATI cards so perhaps mine will still be useful for people with Nvidia cards.
MarcD2K11 is offline  
post #4 of 130 Old 02-26-2011, 10:55 PM
Senior Member
 
carageuw's Avatar
 
Join Date: Aug 2010
Location: Miami
Posts: 407
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 7 Post(s)
Liked: 12
I think SP1 only made my situation a little bit better.
I get to hear a few more syllables.
GeForce GTX 460
Onkyo TX-NR1008
carageuw is online now  
post #5 of 130 Old 03-08-2011, 11:58 AM
Newbie
 
Stephenishere's Avatar
 
Join Date: Mar 2011
Location: Lubbock TX (school); Austin TX (Hometown)
Posts: 3
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
Thank you for this program! This fixed the most irritating issue of my htpc setup. I was going crazy with the source selector constantly switching withs it's pop noise with windows sounds.
adrift likes this.
Stephenishere is offline  
post #6 of 130 Old 03-08-2011, 03:59 PM - Thread Starter
Member
 
MarcD2K11's Avatar
 
Join Date: Feb 2011
Posts: 84
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 20
Quote:
Originally Posted by Stephenishere View Post
Thank you for this program! This fixed the most irritating issue of my htpc setup. I was going crazy with the source selector constantly switching withs it's pop noise with windows sounds.
glad you found it useful It's had 20+ downloads so far and you're the first person to say anything so i wondered if it actually worked for anyone else!
MarcD2K11 is offline  
post #7 of 130 Old 03-10-2011, 09:13 AM
Voz
Member
 
Voz's Avatar
 
Join Date: Jul 2008
Posts: 93
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Oh yes, it works fine! Thank you very much!
Voz is offline  
post #8 of 130 Old 11-26-2011, 01:42 PM
Newbie
 
morgs5659's Avatar
 
Join Date: Nov 2011
Posts: 1
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
THIS IS A GREAT FIX! I can't believe this solution isn't more publicized. This problem had been bothering me for a while, I finally decided to do something about it and like other people with NVidia cards, the SP1 update did not help my problem.

Way to go! Thank you for the fix.
adrift likes this.
morgs5659 is offline  
post #9 of 130 Old 12-05-2011, 09:13 AM
Newbie
 
Zoomer88's Avatar
 
Join Date: Sep 2010
Posts: 6
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Hey MarcD2K11! Thank you for your work! If you don't mind here's a little feedback and few wishes

The one problem with your program is that it doesn't resume its function after I switch on/off the TV which is hooked up to the receiver (in this case both displays start blinking, as if I connect another monitor. The sound is interrupted too). It keeps sitting in the task bar but in fact it doesn't work. Maybe it's possible to implement some kind of mechanism to detect when the silent stream was interrupted and restart it automatically? Or kind of button "Restart"?

And also would it be possible to put in in System tray so it won't take up the space on the task bar?

Thank you again!
Zoomer88 is offline  
post #10 of 130 Old 04-24-2012, 01:47 PM
Member
 
Lindrian's Avatar
 
Join Date: Mar 2012
Posts: 110
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
Sorry to bump an old thread.

I am an Nvidia user with this very issue. Is there any solution to it?

I just downloaded the app, seems to work great - thanks. However, is there a way to force it to tray instead of constantly having it on the taskbar?
adrift likes this.
Lindrian is offline  
post #11 of 130 Old 04-25-2012, 08:01 AM
AVS Special Member
 
maxleung's Avatar
 
Join Date: Mar 2003
Location: Calgary, Alberta, Canada
Posts: 3,495
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 3 Post(s)
Liked: 13
You can make the app run as a service - however, I am not sure if you can keep it as a tray icon or not - but at least you could access it through the normal Services interface. Another advantage is that it can run even before you login!

An example:

http://serverflux.com/windows-tutori...ystem-service/

You can also google around for plenty of (old?) examples of converting an app to a service that is always running.
maxleung is offline  
post #12 of 130 Old 04-25-2012, 08:37 AM
Member
 
Lindrian's Avatar
 
Join Date: Mar 2012
Posts: 110
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
Quote:
Originally Posted by maxleung View Post

You can make the app run as a service - however, I am not sure if you can keep it as a tray icon or not - but at least you could access it through the normal Services interface. Another advantage is that it can run even before you login!

An example:

http://serverflux.com/windows-tutori...ystem-service/

You can also google around for plenty of (old?) examples of converting an app to a service that is always running.

Thanks!

Figured it out by using "Trayconizer". Works like a charm. Problem is now that the audio device changes I have to restart the program... Ugh
Lindrian is offline  
post #13 of 130 Old 04-25-2012, 09:26 AM - Thread Starter
Member
 
MarcD2K11's Avatar
 
Join Date: Feb 2011
Posts: 84
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 20
this is a link to my more recent build, with a reinitialize button to allow you to restart the silent stream if it gets interrupted by turning off your tv or changing sources on your receiver. When i get some time i'll look at adding tray icon functionality

link deleted - most recent link is now in post #1
MarcD2K11 is offline  
post #14 of 130 Old 04-25-2012, 09:59 AM
Member
 
Lindrian's Avatar
 
Join Date: Mar 2012
Posts: 110
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
Quote:
Originally Posted by MarcD2K11 View Post

this is a link to my more recent build, with a reinitialize button to allow you to restart the silent stream if it gets interrupted by turning off your tv or changing sources on your receiver. When i get some time i'll look at adding tray icon functionality

http://www.mediafire.com/?ryx7tlvipnlsxp2

Thank you.

Are you willing to share the source code so I can edit it to my likings if I have to?
Lindrian is offline  
post #15 of 130 Old 04-25-2012, 10:56 AM - Thread Starter
Member
 
MarcD2K11's Avatar
 
Join Date: Feb 2011
Posts: 84
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 20
yeah i suppose so, there's nothing particularly complicated in it. I wanted to get it to detect when windows was using exclusive mode (bitstream) but that's way above my level..
MarcD2K11 is offline  
post #16 of 130 Old 04-25-2012, 11:57 AM
Member
 
Lindrian's Avatar
 
Join Date: Mar 2012
Posts: 110
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
Quote:
Originally Posted by MarcD2K11 View Post

yeah i suppose so, there's nothing particularly complicated in it. I wanted to get it to detect when windows was using exclusive mode (bitstream) but that's way above my level..

Where can I find the code :-)?
Lindrian is offline  
post #17 of 130 Old 04-25-2012, 12:01 PM - Thread Starter
Member
 
MarcD2K11's Avatar
 
Join Date: Feb 2011
Posts: 84
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 20
i'll upload it later on, i'm just working on a new version of the program at the moment. Have it running in the tray with a context menu and a re-init hotkey now, just changing the icons to make them a bit more visible for the tray and then it'll be uploaded
MarcD2K11 is offline  
post #18 of 130 Old 04-25-2012, 01:52 PM
Member
 
Lindrian's Avatar
 
Join Date: Mar 2012
Posts: 110
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
Quote:
Originally Posted by MarcD2K11 View Post

i'll upload it later on, i'm just working on a new version of the program at the moment. Have it running in the tray with a context menu and a re-init hotkey now, just changing the icons to make them a bit more visible for the tray and then it'll be uploaded

You should be able to catch the audio device change automatically too. Doesn't sound like something too hard. Then you could automatically re-initialize it.
Lindrian is offline  
post #19 of 130 Old 04-25-2012, 02:20 PM - Thread Starter
Member
 
MarcD2K11's Avatar
 
Join Date: Feb 2011
Posts: 84
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 20
updated version of the program now available via the link in post 1

it's changed a fair bit It's now solely in the system tray with different icons for better clarity and has a context menu if you left/right click on the tray icon which includes the re-initialize function among other things. Check out the readme included with the new download for all the information.
MarcD2K11 is offline  
post #20 of 130 Old 04-25-2012, 02:29 PM
AVS Special Member
 
maxleung's Avatar
 
Join Date: Mar 2003
Location: Calgary, Alberta, Canada
Posts: 3,495
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 3 Post(s)
Liked: 13
Good stuff Marc! Maybe in the future you can consider making it a service, so that when you boot the PC it'll be running in the background before you login? That way, we can have our fancy-pants login sound! :P
maxleung is offline  
post #21 of 130 Old 04-25-2012, 02:31 PM - Thread Starter
Member
 
MarcD2K11's Avatar
 
Join Date: Feb 2011
Posts: 84
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 20
i think i tried that first time around and it didn't work because of when the audio services start, but i'll certainly have another crack at it
MarcD2K11 is offline  
post #22 of 130 Old 04-25-2012, 08:45 PM
AVS Special Member
 
maxleung's Avatar
 
Join Date: Mar 2003
Location: Calgary, Alberta, Canada
Posts: 3,495
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 3 Post(s)
Liked: 13
I think there is a way to prevent a service from starting until another one it is dependent on starts first. It's been a awhile since I looked at it hehe.
maxleung is offline  
post #23 of 130 Old 05-18-2012, 04:03 PM
Member
 
Mkilbride's Avatar
 
Join Date: May 2012
Posts: 44
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
It was deleted, I need this...
Mkilbride is offline  
post #24 of 130 Old 05-18-2012, 04:21 PM - Thread Starter
Member
 
MarcD2K11's Avatar
 
Join Date: Feb 2011
Posts: 84
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 20
Hi

for anyone coming here from the Denon thread or elsewhere, the link to the current build of the software is in post #1
MarcD2K11 is offline  
post #25 of 130 Old 05-18-2012, 05:40 PM
Senior Member
 
carageuw's Avatar
 
Join Date: Aug 2010
Location: Miami
Posts: 407
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 7 Post(s)
Liked: 12
The problem is still here after two generations of cards...
My new GTX 670 still has it...
carageuw is online now  
post #26 of 130 Old 05-21-2012, 03:26 PM
AVS Special Member
 
maxleung's Avatar
 
Join Date: Mar 2003
Location: Calgary, Alberta, Canada
Posts: 3,495
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 3 Post(s)
Liked: 13
Yeah it's still there - one time I thought I had it fixed, but it turned out to be a hidden video in the browser that opened a sound channel! :O
maxleung is offline  
post #27 of 130 Old 05-24-2012, 06:13 AM - Thread Starter
Member
 
MarcD2K11's Avatar
 
Join Date: Feb 2011
Posts: 84
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 20
I should have a new beta version available in the next day or so which totally changes the way the program works, finally using the methods i wanted to use.

Changes:
The app list is now redundant, and instead, thanks to a fantastic open source audio library called naudio.dll, the program will detect when a WASAPI exclusive mode stream has taken over, and will kick back in when the WASAPI stream ends. It also detects when the sound device it's playing on is disconnected so if you turn off your tv/receiver it should kick back in once they're turned back on.

Still to do:
I haven't implemented running as a service yet because you can't have a GUI on a service so it'd mean having two seperate programs. Now i've more or less sorted out the main program it should give me some time to start working on that..


Due to the massive nature of the changes, I could do with a few people testing out the beta before i release it publicly to make sure it isn't just my own pc it works on. If you're interested, send me a PM and i'll link you to the file once i've compiled it. If you do try out the beta, please let me know if it works for you in the situations described above, or if you encounter any bugs.

Thanks

Marc

Oh, i'm also thinking of renaming the program to something that's less of a mouthful.. any suggestions?
MarcD2K11 is offline  
post #28 of 130 Old 05-24-2012, 04:44 PM
AVS Special Member
 
maxleung's Avatar
 
Join Date: Mar 2003
Location: Calgary, Alberta, Canada
Posts: 3,495
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 3 Post(s)
Liked: 13
Cool, I will gladly test it when it's ready!

How about calling it: NVDIASucksAtStreaming? Or: FixAStupidNVIDIABug Or: SilentStreamConfabulator?
maxleung is offline  
post #29 of 130 Old 05-31-2012, 04:21 AM - Thread Starter
Member
 
MarcD2K11's Avatar
 
Join Date: Feb 2011
Posts: 84
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 20
thanks to maxleung and lindrian for testing the program i will be going live with it soon but there will be a bit of a delay because i've set it up with a clickonce installer so that if i do updates you'll get them automatically, so i'm going to set it up with its own webpage.

I've been thinking of names and i settled on AVR AUDIO GUARD - because i figured like an AV Guard prevents unwanted viruses, my program prevents unwanted audio switching (so perhaps AVR SWITCH GUARD is another option).. opinions?
MarcD2K11 is offline  
post #30 of 130 Old 05-31-2012, 11:25 AM
AVS Special Member
 
maxleung's Avatar
 
Join Date: Mar 2003
Location: Calgary, Alberta, Canada
Posts: 3,495
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 3 Post(s)
Liked: 13
Heh that's a cool name.

The program seems to work well, with the exception of ASIO but ASIO is .... strange, and it may be particular to my system using NVIDIA HDMI audio.
maxleung is offline  
Reply Home Theater Computers

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off