mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-01 20:06:53 +01:00
Stop using some C++11 features not supported by g++ 4.6.4 on Ubuntu 12.04
This commit is contained in:
parent
4d3d12b93b
commit
8b19b300b5
@ -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<void(double* magnitudes, int size)>;
|
||||
typedef std::function<void(double* magnitudes, int size)> OutputCallback;
|
||||
|
||||
struct GstFastSpectrum {
|
||||
GstAudioFilter parent;
|
||||
|
@ -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<QAction*> playlistitem_actions(const Song& song) override;
|
||||
QList<QAction*> playlistitem_actions(const Song& song);
|
||||
QWidget* HeaderWidget() const;
|
||||
|
||||
void Logout();
|
||||
|
Loading…
x
Reference in New Issue
Block a user