mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Don't refresh the ALSA card list, it causes ALSA to crash
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1523 05730e5d-ab1b-0410-a4ac-84af385074fa
This commit is contained in:
parent
94c73a5a8b
commit
0091cdcf06
@ -112,12 +112,6 @@ AudioInput *ALSAAudioInputRegistrar::create() {
|
||||
const QList<audioDevice> ALSAAudioInputRegistrar::getDeviceChoices() {
|
||||
QList<audioDevice> qlReturn;
|
||||
|
||||
// Refresh the list of cards each time it is requested
|
||||
if (cards) {
|
||||
delete cards;
|
||||
cards = new ALSAEnumerator();
|
||||
}
|
||||
|
||||
QStringList qlInputDevs = cards->qhInput.keys();
|
||||
qSort(qlInputDevs);
|
||||
|
||||
@ -152,12 +146,6 @@ AudioOutput *ALSAAudioOutputRegistrar::create() {
|
||||
const QList<audioDevice> ALSAAudioOutputRegistrar::getDeviceChoices() {
|
||||
QList<audioDevice> qlReturn;
|
||||
|
||||
// Refresh the list of cards each time it is requested
|
||||
if (cards) {
|
||||
delete cards;
|
||||
cards = new ALSAEnumerator();
|
||||
}
|
||||
|
||||
QStringList qlOutputDevs = cards->qhOutput.keys();
|
||||
qSort(qlOutputDevs);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user