#include <qaudiodevicefactory_p.h>
Definition at line 72 of file qaudiodevicefactory_p.h.
◆ audioDeviceInfo()
Definition at line 198 of file qaudiodevicefactory.cpp.
Referenced by QAudioDeviceInfoPrivate::operator=(), and QAudioDeviceInfoPrivate::QAudioDeviceInfoPrivate().
202 #ifndef QT_NO_AUDIO_BACKEND 203 #if (defined(Q_OS_WIN) || defined(Q_OS_MAC) || defined(HAS_ALSA) || defined(Q_OS_SYMBIAN)) 208 #if !defined(QT_NO_LIBRARY) && !defined(QT_NO_SETTINGS) 215 return rc == 0 ?
new QNullDeviceInfo() : rc;
T qobject_cast(QObject *object)
virtual QAbstractAudioDeviceInfo * createDeviceInfo(const QByteArray &device, QAudio::Mode mode)=0
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QAbstractAudioDeviceInfo class provides access for QAudioDeviceInfo to access the audio device pr...
◆ availableDevices()
Definition at line 133 of file qaudiodevicefactory.cpp.
Referenced by QAudioDeviceInfo::availableDevices().
136 #ifndef QT_NO_AUDIO_BACKEND 137 #if (defined(Q_OS_WIN) || defined(Q_OS_MAC) || defined(HAS_ALSA) || defined(Q_OS_SYMBIAN)) 142 #if !defined(QT_NO_LIBRARY) && !defined(QT_NO_SETTINGS) T qobject_cast(QObject *object)
The QByteArray class provides an array of bytes.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
virtual QList< QByteArray > availableDevices(QAudio::Mode) const =0
The QString class provides a Unicode character string.
The QAudioDeviceInfo class provides an interface to query audio devices and their functionality...
QObject * instance(const QString &key) const
static QList< QByteArray > availableDevices(QAudio::Mode)
The QList class is a template class that provides lists.
◆ createDefaultInputDevice()
◆ createDefaultOutputDevice()
◆ createInputDevice()
Definition at line 228 of file qaudiodevicefactory.cpp.
Referenced by QAudioInput::QAudioInput().
230 if (deviceInfo.isNull())
232 #ifndef QT_NO_AUDIO_BACKEND 233 #if (defined(Q_OS_WIN) || defined(Q_OS_MAC) || defined(HAS_ALSA) || defined(Q_OS_SYMBIAN)) 238 #if !defined(QT_NO_LIBRARY) && !defined(QT_NO_SETTINGS) T qobject_cast(QObject *object)
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
virtual QAbstractAudioInput * createInput(const QByteArray &device, const QAudioFormat &format=QAudioFormat())=0
◆ createNullInput()
◆ createNullOutput()
◆ createOutputDevice()
Definition at line 248 of file qaudiodevicefactory.cpp.
Referenced by QAudioOutput::QAudioOutput().
250 if (deviceInfo.isNull())
252 #ifndef QT_NO_AUDIO_BACKEND 253 #if (defined(Q_OS_WIN) || defined(Q_OS_MAC) || defined(HAS_ALSA) || defined(Q_OS_SYMBIAN)) 258 #if !defined(QT_NO_LIBRARY) && !defined(QT_NO_SETTINGS) T qobject_cast(QObject *object)
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
virtual QAbstractAudioOutput * createOutput(const QByteArray &device, const QAudioFormat &format=QAudioFormat())=0
◆ defaultInputDevice()
Definition at line 158 of file qaudiodevicefactory.cpp.
Referenced by QAudioDeviceInfo::defaultInputDevice().
160 #if !defined(QT_NO_LIBRARY) && !defined(QT_NO_SETTINGS) 170 #ifndef QT_NO_AUDIO_BACKEND 171 #if (defined(Q_OS_WIN) || defined(Q_OS_MAC) || defined(HAS_ALSA) || defined(Q_OS_SYMBIAN)) T qobject_cast(QObject *object)
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
virtual QList< QByteArray > availableDevices(QAudio::Mode) const =0
static QByteArray defaultInputDevice()
const T & at(int i) const
Returns the item at index position i in the list.
The QAudioDeviceInfo class provides an interface to query audio devices and their functionality...
int size() const
Returns the number of items in the list.
◆ defaultOutputDevice()
Definition at line 178 of file qaudiodevicefactory.cpp.
Referenced by QAudioDeviceInfo::defaultOutputDevice().
180 #if !defined(QT_NO_LIBRARY) && !defined(QT_NO_SETTINGS) 190 #ifndef QT_NO_AUDIO_BACKEND 191 #if (defined(Q_OS_WIN) || defined(Q_OS_MAC) || defined(HAS_ALSA) || defined(Q_OS_SYMBIAN)) T qobject_cast(QObject *object)
static QByteArray defaultOutputDevice()
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
virtual QList< QByteArray > availableDevices(QAudio::Mode) const =0
const T & at(int i) const
Returns the item at index position i in the list.
The QAudioDeviceInfo class provides an interface to query audio devices and their functionality...
int size() const
Returns the number of items in the list.
The documentation for this class was generated from the following files: