Improvments to gstreamer backend and settings +++
- Fixed bug not setting environment for gstreamer before initialization - Fixed windows directsound device - Fixed crash on failure to create gstreamer element - Fixed crash when switching backend - Don't stop playback if equalizer or replay gain fails in gstreamer - Improvments to backend settings - Fixed backend settings to work for windows - Fixed replay gain settings not working - Fixed right click menu for album showing in statusview even when no song was playing - Removed redundant code
This commit is contained in:
@@ -44,15 +44,13 @@ BOOL DirectSoundDeviceFinder::EnumerateCallback(LPGUID guid, LPCSTR description,
|
||||
|
||||
State *state = reinterpret_cast<State*>(state_voidptr);
|
||||
|
||||
if (guid) {
|
||||
Device dev;
|
||||
dev.description = QString::fromUtf8(description);
|
||||
dev.device_property_value = QUuid(*guid).toByteArray();
|
||||
dev.iconname = GuessIconName(dev.string, dev.description);
|
||||
state->devices.append(dev);
|
||||
}
|
||||
Device dev;
|
||||
dev.description = QString::fromUtf8(description);
|
||||
if (guid) dev.value = QUuid(*guid).toByteArray();
|
||||
else dev.value = QVariant();
|
||||
dev.iconname = GuessIconName(dev.description);
|
||||
state->devices.append(dev);
|
||||
|
||||
return 1;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user