54 #ifndef QAUDIODEVICEINFOWIN_H 55 #define QAUDIODEVICEINFOWIN_H 57 #include <QtCore/qbytearray.h> 58 #include <QtCore/qstringlist.h> 59 #include <QtCore/qlist.h> 60 #include <QtCore/qdebug.h> 62 #include <QtMultimedia/qaudiodeviceinfo.h> 63 #include <QtMultimedia/qaudioengine.h> 69 const unsigned int SAMPLE_RATES[] = { 8000, 11025, 22050, 44100, 48000 };
static QByteArray defaultOutputDevice()
#define QT_END_NAMESPACE
This macro expands to.
The QByteArray class provides an array of bytes.
QString deviceName() const
Returns the audio device name.
The QString class provides a Unicode character string.
QList< QAudioFormat::SampleType > typez
~QAudioDeviceInfoInternal()
static QByteArray defaultInputDevice()
QAudioFormat preferredFormat() const
Returns the nearest settings.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QStringList class provides a list of strings.
QList< int > channelsList()
Returns the list of currently available channels.
bool isFormatSupported(const QAudioFormat &format) const
Returns true if format is available from audio device.
QAudioDeviceInfoInternal(QByteArray dev, QAudio::Mode mode)
const unsigned int SAMPLE_RATES[]
QStringList codecList()
Returns the list of currently available codecs.
QList< QAudioFormat::SampleType > sampleTypeList()
Returns the list of currently available sample types.
const unsigned int MAX_SAMPLE_RATES
QAudioFormat nearestFormat(const QAudioFormat &format) const
Returns the nearest settings format.
QList< QAudioFormat::Endian > byteOrderz
QList< QAudioFormat::Endian > byteOrderList()
Returns the list of currently available byte orders.
QList< int > sampleSizeList()
Returns the list of currently available sample sizes.
The QAbstractAudioDeviceInfo class provides access for QAudioDeviceInfo to access the audio device pr...
QList< int > frequencyList()
Returns the list of currently available frequencies.
static QList< QByteArray > availableDevices(QAudio::Mode)
bool testSettings(const QAudioFormat &format) const