diff --git a/gst/moodbar/gstfastspectrum.h b/gst/moodbar/gstfastspectrum.h index 6147f3eb9..1628a69f5 100644 --- a/gst/moodbar/gstfastspectrum.h +++ b/gst/moodbar/gstfastspectrum.h @@ -43,10 +43,10 @@ G_BEGIN_DECLS #define GST_FASTSPECTRUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_FASTSPECTRUM,GstFastSpectrumClass)) #define GST_IS_FASTSPECTRUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_FASTSPECTRUM)) -using GstFastSpectrumInputData = void(*)(const guint8* in, double* out, +typedef void (*GstFastSpectrumInputData)(const guint8* in, double* out, guint len, double max_value, guint op, guint nfft); -using OutputCallback = std::function; +typedef std::function OutputCallback; struct GstFastSpectrum { GstAudioFilter parent; diff --git a/src/internet/spotifyservice.h b/src/internet/spotifyservice.h index 75bbe52ec..03e43009e 100644 --- a/src/internet/spotifyservice.h +++ b/src/internet/spotifyservice.h @@ -56,7 +56,7 @@ class SpotifyService : public InternetService { void ShowContextMenu(const QPoint& global_pos); void ItemDoubleClicked(QStandardItem* item); void DropMimeData(const QMimeData* data, const QModelIndex& index); - QList playlistitem_actions(const Song& song) override; + QList playlistitem_actions(const Song& song); QWidget* HeaderWidget() const; void Logout();