mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
musikcubed/main.cpp fix for updated LibraryFactory API
This commit is contained in:
parent
b8f7861917
commit
139c669790
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user