Fix: static linking on Linux with both PulseAudio and Alsa plugins
Fixed multiply defined symbols when linking statically with both PulseAudio and Alsa plugins enabled: The private classes In/OutputPrivate had identical names and have been renamed. Change-Id: I9415beeeed9fb0e14ead3f0ab906f343b3934341 Task-number: QTBUG-43514 Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
This commit is contained in:
committed by
Yoann Lopes
parent
61fd649861
commit
68dbc9ba02
@@ -61,7 +61,7 @@ QT_BEGIN_NAMESPACE
|
||||
|
||||
class QPulseAudioOutput : public QAbstractAudioOutput
|
||||
{
|
||||
friend class OutputPrivate;
|
||||
friend class PulseOutputPrivate;
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
@@ -139,14 +139,14 @@ private:
|
||||
pa_sample_spec m_spec;
|
||||
};
|
||||
|
||||
class OutputPrivate : public QIODevice
|
||||
class PulseOutputPrivate : public QIODevice
|
||||
{
|
||||
friend class QPulseAudioOutput;
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
OutputPrivate(QPulseAudioOutput *audio);
|
||||
virtual ~OutputPrivate() {}
|
||||
PulseOutputPrivate(QPulseAudioOutput *audio);
|
||||
virtual ~PulseOutputPrivate() {}
|
||||
|
||||
protected:
|
||||
qint64 readData(char *data, qint64 len);
|
||||
|
||||
Reference in New Issue
Block a user