Add support for bs2b
Improve headphone listening of stereo audio records
This commit is contained in:
@@ -73,6 +73,7 @@ class GstEnginePipeline : public QObject {
|
||||
void set_buffer_high_watermark(const double value);
|
||||
void set_proxy_settings(const QString &address, const bool authentication, const QString &user, const QString &pass);
|
||||
void set_channels(const bool enabled, const int channels);
|
||||
void set_bs2b_enabled(const bool enabled);
|
||||
|
||||
// Creates the pipeline, returns false on error
|
||||
bool InitFromUrl(const QByteArray &stream_url, const QUrl &original_url, const qint64 end_nanosec, QString &error);
|
||||
@@ -221,6 +222,9 @@ class GstEnginePipeline : public QObject {
|
||||
bool channels_enabled_;
|
||||
int channels_;
|
||||
|
||||
// Options
|
||||
bool bs2b_enabled_;
|
||||
|
||||
// These get called when there is a new audio buffer available
|
||||
QList<GstBufferConsumer*> buffer_consumers_;
|
||||
QMutex buffer_consumers_mutex_;
|
||||
|
||||
Reference in New Issue
Block a user