Fix pulseaudio device selection

This commit is contained in:
Jonas Kvinge
2018-06-07 02:06:12 +02:00
parent 8df599ffe5
commit d45f8672cd
10 changed files with 25 additions and 27 deletions

View File

@@ -123,7 +123,7 @@ void PulseDeviceFinder::GetSinkInfoCallback(pa_context *c, const pa_sink_info *i
Device dev;
dev.description = QString::fromUtf8(info->description);
dev.value = QString::fromUtf8(info->name);
dev.iconname = QString::fromUtf8(pa_proplist_gets(info->proplist, "device.iconname"));
dev.iconname = GuessIconName(dev.description);
state->devices.append(dev);
}