#include <player.h>
Inheritance diagram for core::ubuntu::media::Player:
Collaboration diagram for core::ubuntu::media::Player:Classes | |
| struct | Client |
| struct | Configuration |
Public Types | |
| enum | PlaybackStatus { null, ready, playing, paused, stopped } |
| enum | LoopStatus { none, track, playlist } |
| enum | AudioStreamRole { alarm, alert, multimedia, phone } |
| typedef double | PlaybackRate |
| typedef double | Volume |
| typedef uint32_t | PlayerKey |
| typedef void * | GLConsumerWrapperHybris |
| typedef void(* | FrameAvailableCbHybris )(GLConsumerWrapperHybris wrapper, void *context) |
| typedef void(* | FrameAvailableCb )(void *context) |
| typedef void(* | PlaybackCompleteCb )(void *context) |
Public Member Functions | |
| Player (const Player &)=delete | |
| virtual | ~Player () |
| Player & | operator= (const Player &)=delete |
| bool | operator== (const Player &) const =delete |
| virtual std::shared_ptr < TrackList > | track_list ()=0 |
| virtual PlayerKey | key () const =0 |
| virtual bool | open_uri (const Track::UriType &uri)=0 |
| virtual void | create_video_sink (uint32_t texture_id)=0 |
| virtual GLConsumerWrapperHybris | gl_consumer () const =0 |
| virtual void | next ()=0 |
| virtual void | previous ()=0 |
| virtual void | play ()=0 |
| virtual void | pause ()=0 |
| virtual void | stop ()=0 |
| virtual void | seek_to (const std::chrono::microseconds &offset)=0 |
| virtual void | set_frame_available_callback (FrameAvailableCb cb, void *context)=0 |
| virtual void | set_playback_complete_callback (PlaybackCompleteCb cb, void *context)=0 |
| virtual const core::Property < bool > & | can_play () const =0 |
| virtual const core::Property < bool > & | can_pause () const =0 |
| virtual const core::Property < bool > & | can_seek () const =0 |
| virtual const core::Property < bool > & | can_go_previous () const =0 |
| virtual const core::Property < bool > & | can_go_next () const =0 |
| virtual const core::Property < bool > & | is_video_source () const =0 |
| virtual const core::Property < bool > & | is_audio_source () const =0 |
| virtual const core::Property < PlaybackStatus > & | playback_status () const =0 |
| virtual const core::Property < LoopStatus > & | loop_status () const =0 |
| virtual const core::Property < PlaybackRate > & | playback_rate () const =0 |
| virtual const core::Property < bool > & | is_shuffle () const =0 |
| virtual const core::Property < Track::MetaData > & | meta_data_for_current_track () const =0 |
| virtual const core::Property < Volume > & | volume () const =0 |
| virtual const core::Property < PlaybackRate > & | minimum_playback_rate () const =0 |
| virtual const core::Property < PlaybackRate > & | maximum_playback_rate () const =0 |
| virtual const core::Property < int64_t > & | position () const =0 |
| virtual const core::Property < int64_t > & | duration () const =0 |
| virtual const core::Property < AudioStreamRole > & | audio_stream_role () const =0 |
| virtual core::Property < LoopStatus > & | loop_status ()=0 |
| virtual core::Property < PlaybackRate > & | playback_rate ()=0 |
| virtual core::Property< bool > & | is_shuffle ()=0 |
| virtual core::Property< Volume > & | volume ()=0 |
| virtual core::Property < AudioStreamRole > & | audio_stream_role ()=0 |
| virtual const core::Signal < int64_t > & | seeked_to () const =0 |
| virtual const core::Signal < void > & | end_of_stream () const =0 |
| virtual core::Signal < PlaybackStatus > & | playback_status_changed ()=0 |
Protected Member Functions | |
| Player () | |
| typedef void(* core::ubuntu::media::Player::FrameAvailableCb)(void *context) |
| typedef void(* core::ubuntu::media::Player::FrameAvailableCbHybris)(GLConsumerWrapperHybris wrapper, void *context) |
| typedef void* core::ubuntu::media::Player::GLConsumerWrapperHybris |
| typedef void(* core::ubuntu::media::Player::PlaybackCompleteCb)(void *context) |
| typedef double core::ubuntu::media::Player::PlaybackRate |
| typedef uint32_t core::ubuntu::media::Player::PlayerKey |
| typedef double core::ubuntu::media::Player::Volume |
|
delete |
|
virtual |
Definition at line 41 of file player.cpp.
|
protected |
Definition at line 37 of file player.cpp.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerImplementation, and core::ubuntu::media::PlayerStub.
Referenced by media::PlayerSkeleton::Private::handle_create_video_sink().
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerImplementation, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerImplementation, and core::ubuntu::media::PlayerStub.
Referenced by media::PlayerSkeleton::Private::handle_key().
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerImplementation, and core::ubuntu::media::PlayerStub.
Referenced by media::PlayerSkeleton::Private::handle_next().
|
pure virtual |
Implemented in core::ubuntu::media::PlayerImplementation, and core::ubuntu::media::PlayerStub.
Referenced by media::PlayerSkeleton::Private::handle_open_uri().
|
delete |
|
pure virtual |
Implemented in core::ubuntu::media::PlayerImplementation, and core::ubuntu::media::PlayerStub.
Referenced by media::PlayerSkeleton::Private::handle_pause(), and media::PlayerSkeleton::Private::handle_play_pause().
|
pure virtual |
Implemented in core::ubuntu::media::PlayerImplementation, and core::ubuntu::media::PlayerStub.
Referenced by media::PlayerSkeleton::Private::handle_play(), and media::PlayerSkeleton::Private::handle_play_pause().
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerImplementation, and core::ubuntu::media::PlayerStub.
Referenced by media::PlayerSkeleton::Private::handle_previous().
|
pure virtual |
Implemented in core::ubuntu::media::PlayerImplementation, and core::ubuntu::media::PlayerStub.
Referenced by media::PlayerSkeleton::Private::handle_seek().
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerImplementation.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerImplementation.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerImplementation, and core::ubuntu::media::PlayerStub.
Referenced by media::PlayerSkeleton::Private::handle_stop().
|
pure virtual |
Implemented in core::ubuntu::media::PlayerImplementation, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub, and core::ubuntu::media::PlayerSkeleton.