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
@@ -62,7 +62,7 @@
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
||||
class InputPrivate;
|
||||
class AlsaInputPrivate;
|
||||
|
||||
class RingBuffer
|
||||
{
|
||||
@@ -157,12 +157,12 @@ private:
|
||||
qreal m_volume;
|
||||
};
|
||||
|
||||
class InputPrivate : public QIODevice
|
||||
class AlsaInputPrivate : public QIODevice
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
InputPrivate(QAlsaAudioInput* audio);
|
||||
~InputPrivate();
|
||||
AlsaInputPrivate(QAlsaAudioInput* audio);
|
||||
~AlsaInputPrivate();
|
||||
|
||||
qint64 readData( char* data, qint64 len);
|
||||
qint64 writeData(const char* data, qint64 len);
|
||||
|
||||
Reference in New Issue
Block a user