xbmc
|
Public Member Functions | |
bool | OpenStream (RETRO::IRetroPlayerStream *stream, const game_stream_properties &properties) override |
Open the stream. More... | |
void | CloseStream () override |
Release the RetroPlayer stream resource. | |
void | AddData (const game_stream_packet &packet) override |
Add a data packet to a stream. More... | |
![]() | |
virtual bool | GetBuffer (unsigned int width, unsigned int height, game_stream_buffer &buffer) |
Get a buffer for zero-copy stream data. More... | |
virtual void | ReleaseBuffer (game_stream_buffer &buffer) |
Free an allocated buffer. More... | |
Protected Attributes | |
RETRO::IRetroPlayerStream * | m_stream = nullptr |
|
overridevirtual |
Add a data packet to a stream.
packet | The data packet |
Implements KODI::GAME::IGameClientStream.
|
overridevirtual |
Open the stream.
stream | The RetroPlayer resource to take ownership of |
Implements KODI::GAME::IGameClientStream.