Win Shutting down, wrong audio device
#1
Hi,

I'm running into some problems with 13.1.
When I want to exit XBMC, it often doesn't exit. It just won't respond anymore after pressing the button.
What I do then is just shutdown my htpc with the button on my remote. I can see windows shutting down nicely though I guess xbmc is force closed.

After booting and starting xbmc I notice that my audio devices are reverted back to Directsound instead of the WASAPI device I selected.
Even when I manage to shutdown cleanly, the next time it goes wrong it will revert back to directsound.
I have no Idea what is causing the lockup on exit, but an easy solution for my problem would be to force xbmc to default to WASAPI devices (if this routine doesn't damage anything else in xbmc)
is this possible? or does anyone have a better idea?
Reply
#2
Posting a debug log (wiki) may help shed some light on the issue.
Otherwise you can make a autohotkey script to wait for xbmc to start them set the audio output via json-rpc.
Reply
#3
I enabled Debug Log and directx9EX in advancedsettings.xml...
problems hasn't poped up since... no I'd like to know why changing this matters when exiting XBMC...
Reply
#4
So, I got it to hang again.
I was listening to music using a stream from the Foobar uPnP instance on my pc.
this is the last I got in the log:
Code:
23:53:14 T:596   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
23:53:14 T:596   DEBUG: CApplication::OnKey: return (0xf00d) pressed, action is Select
23:53:14 T:596   DEBUG: CAnnouncementManager - Announcement: OnQuit from xbmc
23:53:14 T:596   DEBUG: GOT ANNOUNCEMENT, type: 8, from xbmc, message OnQuit
23:53:14 T:988   DEBUG: Thread AlarmClock 988 terminating
23:53:14 T:596  NOTICE: Storing total System Uptime
23:53:14 T:596  NOTICE: Saving settings
23:53:14 T:596  NOTICE: stop all
23:53:14 T:3612   DEBUG: Thread JobWorker 3612 terminating (autodelete)
23:53:14 T:3504   DEBUG: Thread JobWorker 3504 terminating (autodelete)
23:53:14 T:3280   DEBUG: Thread JobWorker 3280 terminating (autodelete)
23:53:14 T:596  NOTICE: stop player
23:53:14 T:596    INFO: stopping PVRManager
23:53:14 T:2680   DEBUG: Thread JobWorker 2680 terminating (autodelete)
23:53:14 T:596   DEBUG: CNetwork::NetworkMessage - Signaling network services to stop
23:53:14 T:596  NOTICE: ES: Stopping event server
23:53:14 T:596   DEBUG: CNetwork::NetworkMessage - Waiting for network services to stop
23:53:14 T:596  NOTICE: stopping upnp
23:53:14 T:924  NOTICE: ES: UDP Event server stopped
23:53:14 T:924   DEBUG: Thread EventServer 924 terminating
23:53:14 T:520   DEBUG: Thread TCPServer 520 terminating

and than it hang, I've shut down the pc with the shutdown button on the remote. Next boot the audio device was reset again to Directsound HDMI...
Reply

Logout Mark Read Team Forum Stats Members Help
Shutting down, wrong audio device0