diff -r b72c6db6890b -r 5dc02b23752f src/3rdparty/phonon/gstreamer/devicemanager.h --- a/src/3rdparty/phonon/gstreamer/devicemanager.h Wed Jun 23 19:07:03 2010 +0300 +++ b/src/3rdparty/phonon/gstreamer/devicemanager.h Tue Jul 06 15:10:48 2010 +0300 @@ -42,6 +42,7 @@ int id; QByteArray gstId; QByteArray description; + QString icon; }; class DeviceManager : public QObject { @@ -51,8 +52,10 @@ virtual ~DeviceManager(); const QList audioOutputDevices() const; GstPad *requestPad(int device) const; + int allocateDeviceId(); int deviceId(const QByteArray &gstId) const; - QByteArray deviceDescription(int id) const; + const QByteArray gstId(int id); + AudioDevice* audioDevice(int id); GstElement *createGNOMEAudioSink(Category category); GstElement *createAudioSink(Category category = NoCategory); AbstractRenderer *createVideoRenderer(VideoWidget *parent); @@ -68,6 +71,7 @@ bool canOpenDevice(GstElement *element) const; Backend *m_backend; QList m_audioDeviceList; + int m_audioDeviceCounter; QTimer m_devicePollTimer; QByteArray m_audioSink; QByteArray m_videoSinkWidget;