musikcubed/main.cpp fix for updated LibraryFactory API

This commit is contained in:
casey langen 2020-10-04 21:55:52 -07:00
parent b8f7861917
commit 139c669790

View File

@ -277,8 +277,8 @@ int main(int argc, char** argv) {
srand((unsigned int) time(0)); srand((unsigned int) time(0));
EvMessageQueue messageQueue; EvMessageQueue messageQueue;
auto library = LibraryFactory::Default(); LibraryFactory::Initialize(messageQueue);
library->SetMessageQueue(messageQueue); auto library = LibraryFactory::Instance().Default();
{ {
PlaybackService playback(messageQueue, library); PlaybackService playback(messageQueue, library);