![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <IRetroPlayerStream.h>
Public Member Functions | |
virtual | ~IRetroPlayerStream ()=default |
virtual bool | OpenStream (const StreamProperties &properties)=0 |
Open a stream. | |
virtual bool | GetStreamBuffer (unsigned int width, unsigned int height, StreamBuffer &buffer)=0 |
Get a buffer for zero-copy stream data. | |
virtual void | AddStreamData (const StreamPacket &packet)=0 |
Add a data packet to a stream. | |
virtual void | CloseStream ()=0 |
Close the stream. | |
|
virtualdefault |
|
pure virtual |
Add a data packet to a stream.
packet | The data packet |
Implemented in KODI::RETRO::CRetroPlayerAudio, KODI::RETRO::CRetroPlayerRendering, and KODI::RETRO::CRetroPlayerVideo.
|
pure virtual |
Close the stream.
Implemented in KODI::RETRO::CRetroPlayerAudio, KODI::RETRO::CRetroPlayerRendering, and KODI::RETRO::CRetroPlayerVideo.
|
pure virtual |
Get a buffer for zero-copy stream data.
width | The framebuffer width, or 0 for no width specified | |
height | The framebuffer height, or 0 for no height specified | |
[out] | buffer | The buffer, or unmodified if false is returned |
Implemented in KODI::RETRO::CRetroPlayerAudio, KODI::RETRO::CRetroPlayerRendering, and KODI::RETRO::CRetroPlayerVideo.
|
pure virtual |
Open a stream.
Implemented in KODI::RETRO::CRetroPlayerAudio, KODI::RETRO::CRetroPlayerRendering, and KODI::RETRO::CRetroPlayerVideo.