Top | Description | Object Hierarchy | Implemented Interfaces | ![]() |
![]() |
![]() |
![]() |
struct RBStreamingSource; struct RBStreamingSourceClass; void rb_streaming_source_get_progress (RBStreamingSource *source
,char **text
,float *progress
); void rb_streaming_source_set_streaming_title (RBStreamingSource *source
,const char *title
); void rb_streaming_source_set_streaming_artist (RBStreamingSource *source
,const char *artist
); void rb_streaming_source_set_streaming_album (RBStreamingSource *source
,const char *album
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----RBDisplayPage +----RBSource +----RBStreamingSource
RBStreamingSource implements AtkImplementorIface, GtkBuildable and GtkOrientable.
This class provides handling of buffering signals and streaming song metadata common to different types of sources that play continuous streaming media.
void rb_streaming_source_get_progress (RBStreamingSource *source
,char **text
,float *progress
);
Provides status text and progress fraction suitable for use in
a streaming source's rb_source_get_status
method.
|
a RBStreamingSource |
|
returns buffering status text. [out callee-allocates][transfer full] |
|
returns buffering progress fraction. [out callee-allocates] |
void rb_streaming_source_set_streaming_title (RBStreamingSource *source
,const char *title
);
Updates the streaming song title. Call this when an updated streaming song title is received from the stream.
|
a RBStreamingSource |
|
the new streaming song title |
void rb_streaming_source_set_streaming_artist (RBStreamingSource *source
,const char *artist
);
Updates the streaming song artist name. Call this when an updated streaming song artist name is received from the stream.
|
a RBStreamingSource |
|
the new streaming song artist name |
void rb_streaming_source_set_streaming_album (RBStreamingSource *source
,const char *album
);
Updates the streaming song album name. Call this when an updated streaming song album name is received from the stream.
|
a RBStreamingSource |
|
the new streaming song album name |