BUGFIX FOR APPLE OSXAUDIOSINK

This commit is contained in:
Bruno Herbelin
2024-08-24 13:23:50 +02:00
parent 0016a41474
commit 12aa3b19d5
2 changed files with 37 additions and 30 deletions

View File

@@ -281,8 +281,8 @@ public:
* */
inline bool audioAvailable() const { return media_.hasaudio; }
void setAudioEnabled(bool on);
void setAudioVolume(float v);
float audioVolume() const;
void setAudioVolume(gdouble v);
gdouble audioVolume() const;
/**
* Accept visitors
@@ -406,6 +406,7 @@ private:
static GstFlowReturn callback_new_preroll (GstAppSink *, gpointer );
static GstFlowReturn callback_new_sample (GstAppSink *, gpointer);
static GstBusSyncReply signal_handler(GstBus *, GstMessage *, gpointer);
static void callback_element_setup (GstElement *pipeline, GstElement *element, MediaPlayer *mp);
// global list of registered media player
static void pipeline_terminate(GstElement *p);