Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches

Detailed Description

Audio operations


Audio operation parts in interface:
Copy this to your project and extend with your parts or leave functions complete away where not used or supported.

Function Documentation

◆ AudioAvailable()

virtual GAME_ERROR AudioAvailable ( )
inlinevirtual

Tell the client the frontend is ready for audio.

Only implemented by clients that asked for the asynchronous audio interface. Such a client produces no audio of its own accord: it waits to be asked, then writes what it has through AddStreamData() on the thread this was called from.

Returns
The error, or GAME_ERROR_NO_ERROR if audio was handled