Posts: 139
Joined: Jan 2015
Reputation:
1
I configured Kodi audio output to SPDIF, however, for some reason it changed audio output to speaker after launched. It does not happened all the time but very often. Seems it is quite common problem without real solution from reading the forum posts. I think the workaround is to use the command to set audio output to SPDIF every time Kodi Starts. Is this possible?
Posts: 175
Joined: Sep 2013
Reputation:
2
2016-04-24, 23:31
(This post was last modified: 2016-04-24, 23:33 by MadScientist.)
I had a similar problem with Kodi changing from WASAPI to Directsound all the time. I solved it by adding an Advancedsettings.xml.
Try the following:
First set Kodi to your desired audio output.
Next, go to the userdata folder and open the guisettings.xml using Wordpad and find the audiooutput command line
Copy the audiodevice command line which will look something like this:
<audiodevice>WASAPI:{AFE47B89-E206-4056-B3B4-A6BE0A049D3C}</audiodevice>
Now create a text file as follows (obviously replacing my text with your audiodevice command line):
<advancedsettings>
<audiooutput>
<audiodevice>WASAPI:{AFE47B89-E206-4056-B3B4-A6BE0A049D3C}</audiodevice>
<passthroughdevice>WASAPI:{AFE47B89-E206-4056-B3B4-A6BE0A049D3C}</passthroughdevice>
</audiooutput>
</advancedsettings>
Rename the text file to 'advancedsettings.xml' and place it in the userdata folder
If all goes well the options for selecting the audio output will have disappeared from the your settings options and you will have the correct output setting each time.
Posts: 175
Joined: Sep 2013
Reputation:
2
2016-04-25, 09:01
(This post was last modified: 2016-04-25, 09:03 by MadScientist.)
Glad it worked. I've had no issues since adopting the above approach and I'd be interested to hear how you get on in longer term
Posts: 175
Joined: Sep 2013
Reputation:
2
Strange. It suggests the SPDIF output is not ready when Kodi wants access to it. I'm not aware that there's any handshaking required for SPDIF but it might be worth checking whether ot not the order in which equipment is turned on makes any difference?