Why does my application audio stop working after turning off and turning on my tv?
I'm currently developing an application in XNA and using a TV with HDMI for video and audio. When I turn the TV off then on again the application audio ceases to work. However, system soun开发者_如何转开发ds do still work. Does anyone have any ideas on why this happens?
I'm using a motherboard with integrated Intel HD graphics to connect the TV and use it as a monitor.
Here is a link to a similar issue in regards to audio jack sensing in windows: https://superuser.com/questions/249878/disable-windows-sound-card-jack-sensing
The same solution solved my problem:
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4D36E96C-E325-11CE-BFC1-08002BE10318}000\GlobalSettings
- Change the value EnableDynamicDevices to zero.
- Restart your system.
Hopefully this will help others that have issues with this and XNA in the future.
精彩评论