25 Q_PROPERTY(QByteArray id READ id CONSTANT)
26 Q_PROPERTY(QString description READ description CONSTANT)
27 Q_PROPERTY(
bool isDefault READ isDefault CONSTANT)
28 Q_PROPERTY(Mode mode READ mode CONSTANT)
38 QAudioDevice(
const QAudioDevice& other);
41 QAudioDevice(QAudioDevice &&other)
noexcept =
default;
42 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QAudioDevice)
43 void swap(QAudioDevice &other)
noexcept
46 QAudioDevice& operator=(
const QAudioDevice& other);
48 bool operator==(
const QAudioDevice &other)
const;
49 bool operator!=(
const QAudioDevice &other)
const;
53 QByteArray id()
const;
54 QString description()
const;
56 bool isDefault()
const;
57 QAudioDevice::Mode mode()
const;
59 bool isFormatSupported(
const QAudioFormat &format)
const;
60 QAudioFormat preferredFormat()
const;
62 int minimumSampleRate()
const;
63 int maximumSampleRate()
const;
64 int minimumChannelCount()
const;
65 int maximumChannelCount()
const;
66 QList<QAudioFormat::SampleFormat> supportedSampleFormats()
const;
67 QAudioFormat::ChannelConfig channelConfiguration()
const;
69#if QT_DEPRECATED_SINCE(6
, 10
)
70 QT_DEPRECATED_VERSION_X_6_10(
"The method is internal and deprecated")
71 const QAudioDevicePrivate *handle()
const {
return d.get(); }
74 friend class QAudioDevicePrivate;
75 explicit QAudioDevice(QAudioDevicePrivate *p);
76 QExplicitlySharedDataPointer<QAudioDevicePrivate> d;