2017-12-28, 06:25
(2017-12-28, 03:30)damonbrodie Wrote: WASAPI handshake
Wasapi is Microsoft's multi-channel audio interface for communication with audio devices. WASAPI was introduced with Windows Vista™ and is supported by Windows 7 and later versions. WASAPI delivers an unmodified audio-stream to a sound device.
-Is the WASAPI handshake with Windows or with Kodi? (Assuming it is with Kodi)
Windows audio (wiki) Kodi utilizes WASAPI only in the Exclusive Mode of operation in order that Kodi gets the exclusive rights to the audio buffers whilst playing audio streams to the exclusion of all other sounds or players, this is a change from previous version of Kodi where Shared Mode was also allowed. When using WASAPI care must be taken to ensure Windows is configured to allow Kodi to run in exclusive mode.
-I assume Kodi attempts the handshake upon startup. What happens if the AVR is off when this happens, but is later turned on?
Kodi only interrogates the hardware for WASAPI on launch, loss of handshaking will default to direct sound.
-If there is not currently a WASAPI connection in place when Kodi starts up media (say a movie) does it re-attempt the WASAPI connection at that time?
No but Kodi can be forced back into WASPI by entering settings and changing the audio settings to WASAPI should handshaking be established.