Improvments to gstreamer backend and settings +++

- Fixed bug not setting environment for gstreamer before initialization
- Fixed windows directsound device
- Fixed crash on failure to create gstreamer element
- Fixed crash when switching backend
- Don't stop playback if equalizer or replay gain fails in gstreamer
- Improvments to backend settings
- Fixed backend settings to work for windows
- Fixed replay gain settings not working
- Fixed right click menu for album showing in statusview even when no song was playing
- Removed redundant code
This commit is contained in:
Jonas Kvinge
2018-04-05 21:40:05 +02:00
parent 6bbc1271e4
commit 43bf7e3ca8
21 changed files with 286 additions and 328 deletions

View File

@@ -90,19 +90,11 @@ class Base : public QObject {
bool crossfade_same_album() const { return crossfade_same_album_; }
static const int kScopeSize = 1024;
struct PluginDetails {
QString name;
QString description;
QString iconname;
};
typedef QList<PluginDetails> PluginDetailsList;
struct OutputDetails {
QString name;
QString description;
QString iconname;
QVariant device_property_value;
};
typedef QList<OutputDetails> OutputDetailsList;
@@ -159,6 +151,13 @@ signals:
int next_background_stream_id_;
bool fadeout_pause_enabled_;
qint64 fadeout_pause_duration_nanosec_;
struct PluginDetails {
QString name;
QString description;
QString iconname;
};
typedef QList<PluginDetails> PluginDetailsList;
private:
bool about_to_end_emitted_;