mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
chore: fix audio processing detection
This commit is contained in:
parent
1a3f789cee
commit
04c85bebe4
@ -22,7 +22,7 @@ ProjectUniquePtr ProjectParser::parse (const JSON& data, ContainerUniquePtr cont
|
|||||||
.title = data.require <std::string> ("title", "Project title missing"),
|
.title = data.require <std::string> ("title", "Project title missing"),
|
||||||
.type = parseType (type),
|
.type = parseType (type),
|
||||||
.workshopId = data.optional ("workshopid", std::to_string (--backgroundId)),
|
.workshopId = data.optional ("workshopid", std::to_string (--backgroundId)),
|
||||||
.supportsAudioProcessing = general.has_value () && general.value ().optional ("supportsAudioProcessing", false),
|
.supportsAudioProcessing = general.has_value () && general.value ().optional ("supportsaudioprocessing", false),
|
||||||
.properties = parseProperties (general),
|
.properties = parseProperties (general),
|
||||||
.container = std::move(container),
|
.container = std::move(container),
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user