mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 16:41:02 +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() {
|
void AudioClient::checkDevices() {
|
||||||
|
# ifdef Q_OS_LINUX
|
||||||
|
// on linux, this makes the audio stream hiccup
|
||||||
|
# else
|
||||||
QVector<QString> inputDevices = getDeviceNames(QAudio::AudioInput);
|
QVector<QString> inputDevices = getDeviceNames(QAudio::AudioInput);
|
||||||
QVector<QString> outputDevices = getDeviceNames(QAudio::AudioOutput);
|
QVector<QString> outputDevices = getDeviceNames(QAudio::AudioOutput);
|
||||||
|
|
||||||
|
@ -1290,6 +1293,7 @@ void AudioClient::checkDevices() {
|
||||||
|
|
||||||
emit deviceChanged();
|
emit deviceChanged();
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void AudioClient::loadSettings() {
|
void AudioClient::loadSettings() {
|
||||||
|
|
Loading…
Reference in a new issue