Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

Audio operations More...

Functions

virtual GAME_ERROR kodi::addon::CInstanceGame::AudioAvailable ()
 Tell the client the frontend is ready for audio.
 

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 kodi::addon::CInstanceGame::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