mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 18:23:22 +02:00
Merge branch 'master' of https://github.com/highfidelity/hifi into temp1
This commit is contained in:
commit
4abc760db1
1 changed files with 4 additions and 0 deletions
|
@ -1281,6 +1281,9 @@ qint64 AudioClient::AudioOutputIODevice::readData(char * data, qint64 maxSize) {
|
|||
}
|
||||
|
||||
void AudioClient::checkDevices() {
|
||||
# ifdef Q_OS_LINUX
|
||||
// on linux, this makes the audio stream hiccup
|
||||
# else
|
||||
QVector<QString> inputDevices = getDeviceNames(QAudio::AudioInput);
|
||||
QVector<QString> outputDevices = getDeviceNames(QAudio::AudioOutput);
|
||||
|
||||
|
@ -1290,6 +1293,7 @@ void AudioClient::checkDevices() {
|
|||
|
||||
emit deviceChanged();
|
||||
}
|
||||
# endif
|
||||
}
|
||||
|
||||
void AudioClient::loadSettings() {
|
||||
|
|
Loading…
Reference in a new issue