17#include <alsa/version.h>
51void QAlsaAudioDeviceInfo::checkSurround()
58 char *
name, *descr, *io;
60 if(snd_device_name_hint(-1,
"pcm", &hints) < 0)
66 name = snd_device_name_get_hint(*
n,
"NAME");
67 descr = snd_device_name_get_hint(*
n,
"DESC");
68 io = snd_device_name_get_hint(*
n,
"IOID");
69 if((
name != NULL) && (descr != NULL)) {
88 snd_device_name_free_hint(hints);
QAlsaAudioDeviceInfo(const QByteArray &dev, const QString &description, QAudioDevice::Mode mode)
QAudioFormat preferredFormat
QList< QAudioFormat::SampleFormat > supportedSampleFormats
Mode
Describes the mode of this device.
\macro QT_RESTRICTED_CAST_FROM_ASCII
bool contains(QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Combined button and popup list for selecting options.
QLatin1StringView QLatin1String