equal
deleted
inserted
replaced
101 nearest.setSampleSize(16); |
101 nearest.setSampleSize(16); |
102 nearest.setCodec(QLatin1String("audio/pcm")); |
102 nearest.setCodec(QLatin1String("audio/pcm")); |
103 } else { |
103 } else { |
104 nearest.setFrequency(11025); |
104 nearest.setFrequency(11025); |
105 nearest.setChannels(1); |
105 nearest.setChannels(1); |
|
106 nearest.setByteOrder(QAudioFormat::LittleEndian); |
106 nearest.setSampleType(QAudioFormat::SignedInt); |
107 nearest.setSampleType(QAudioFormat::SignedInt); |
107 nearest.setSampleSize(8); |
108 nearest.setSampleSize(8); |
108 nearest.setCodec(QLatin1String("audio/pcm")); |
109 nearest.setCodec(QLatin1String("audio/pcm")); |
109 } |
110 } |
110 return nearest; |
111 return nearest; |
331 |
332 |
332 codecz.append(QLatin1String("audio/pcm")); |
333 codecz.append(QLatin1String("audio/pcm")); |
333 } |
334 } |
334 } |
335 } |
335 |
336 |
336 QList<QByteArray> QAudioDeviceInfoInternal::deviceList(QAudio::Mode mode) |
337 QList<QByteArray> QAudioDeviceInfoInternal::availableDevices(QAudio::Mode mode) |
337 { |
338 { |
338 Q_UNUSED(mode) |
339 Q_UNUSED(mode) |
339 |
340 |
340 QList<QByteArray> devices; |
341 QList<QByteArray> devices; |
341 |
342 |