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:
@@ -32,6 +32,8 @@
|
||||
#include "engine/engine_fwd.h"
|
||||
#include "engine/enginetype.h"
|
||||
|
||||
#include "dialogs/errordialog.h"
|
||||
|
||||
class Ui_BackendSettingsPage;
|
||||
|
||||
class BackendSettingsPage : public SettingsPage {
|
||||
@@ -40,7 +42,7 @@ class BackendSettingsPage : public SettingsPage {
|
||||
public:
|
||||
BackendSettingsPage(SettingsDialog *dialog);
|
||||
~BackendSettingsPage();
|
||||
|
||||
|
||||
static const char *kSettingsGroup;
|
||||
static const char *EngineText_Xine;
|
||||
static const char *EngineText_GStreamer;
|
||||
@@ -63,39 +65,39 @@ private:
|
||||
|
||||
void EngineChanged(Engine::EngineType enginetype);
|
||||
void OutputChanged(int index, Engine::EngineType enginetype);
|
||||
|
||||
|
||||
void Load_Engine(Engine::EngineType enginetype);
|
||||
void Load_Device(QString output);
|
||||
|
||||
void Load_Device(QString output, QVariant device, bool alsa);
|
||||
|
||||
#ifdef HAVE_XINE
|
||||
void Xine_Load();
|
||||
void Xine_Load(QString output, QVariant device);
|
||||
void Xine_Save();
|
||||
void Xine_OutputChanged(int index);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GSTREAMER
|
||||
void Gst_Load();
|
||||
void Gst_Load(QString output, QVariant device);
|
||||
void Gst_Save();
|
||||
void Gst_OutputChanged(int index);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PHONON
|
||||
void Phonon_Load();
|
||||
void Phonon_Load(QString output, QVariant device);
|
||||
void Phonon_Save();
|
||||
void Phonon_OutputChanged(int index);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_VLC
|
||||
void VLC_Load();
|
||||
void VLC_Load(QString output, QVariant device);
|
||||
void VLC_Save();
|
||||
void VLC_OutputChanged(int index);
|
||||
#endif
|
||||
|
||||
bool configloaded_;
|
||||
Engine::EngineType engineloaded_;
|
||||
QString output_;
|
||||
QString device_;
|
||||
QSettings s_;
|
||||
ErrorDialog errordialog_;
|
||||
bool enginereset_;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user