21 #ifndef GSTPLAYBACKPIPELINE_H_ 22 #define GSTPLAYBACKPIPELINE_H_ 24 #include "ChangeablePipeline.h" 25 #include "Crossfader.h" 26 #include "Components/Engine/AbstractPipeline.h" 27 #include "Utils/Pimpl.h" 47 bool init(GstState state=GST_STATE_NULL)
override;
48 bool set_uri(gchar* uri)
override;
50 void set_n_sound_receiver(
int num_sound_receiver);
55 GstElement* get_source()
const override;
56 GstElement* get_pipeline()
const override;
58 void force_about_to_finish();
65 void set_eq_band(
int band_name,
int val);
66 void set_streamrecorder_path(
const QString& session_path);
68 int64_t seek_rel(
double percent, int64_t ref_ns);
69 int64_t seek_abs(int64_t ns );
72 void init_equalizer();
73 bool create_elements()
override;
74 GstElement* create_audio_sink(
const QString& name);
75 bool add_and_link_elements()
override;
76 bool configure_elements()
override;
77 uint64_t get_about_to_finish_time()
const override;
81 void s_show_level_changed();
82 void s_show_spectrum_changed();
83 void s_mute_changed();
84 void s_speed_active_changed();
85 void s_speed_changed();
86 void s_sink_changed();
double get_current_volume() const override
get current volume of pipeline
The PlaybackPipeline class.
Definition: PlaybackPipeline.h:35
The AbstractPipeline class.
Definition: AbstractPipeline.h:61
The Engine class.
Definition: AbstractEngine.h:51
The CrossFader class.
Definition: Crossfader.h:35
void set_current_volume(double volume) override
set current volume of pipeline
Definition: AbstractPipeline.h:39
The ChangeablePipeline class.
Definition: ChangeablePipeline.h:32