Simplify the pipeline

Fix issue where bitrate is updated incorrectly by stream discoverer
Fixes issue #282
Also make it possible to enable stereo balancer without enabling the
equalizer
This commit is contained in:
Jonas Kvinge
2019-10-27 23:48:54 +01:00
parent 4ab7871106
commit e800b236aa
11 changed files with 207 additions and 184 deletions

View File

@@ -128,7 +128,7 @@ public:
public slots:
virtual void SetEqualizerEnabled(const bool) {}
virtual void SetEqualizerParameters(const int preamp, const QList<int> &bandGains) { Q_UNUSED(preamp); Q_UNUSED(bandGains); }
virtual void SetStereoBalance(float value) { Q_UNUSED(value); }
virtual void SetStereoBalance(const bool enabled, const float value) { Q_UNUSED(enabled); Q_UNUSED(value); }
signals:
// Emitted when crossfading is enabled and the track is crossfade_duration_ away from finishing
@@ -214,13 +214,13 @@ struct SimpleMetaBundle {
QString album;
QString comment;
QString genre;
qlonglong length;
qint64 length;
int year;
int track;
Song::FileType filetype;
int samplerate;
int bitdepth;
qlonglong bitrate;
qint64 bitrate;
QString lyrics;
};