Adding Music Playback

This commit is contained in:
IlyaShurupov 2023-11-29 19:42:17 +03:00 committed by Ilya Shurupov
parent a233b6a214
commit b74c5bc5e5
12 changed files with 1840 additions and 149 deletions

View file

@ -1,5 +1,5 @@
// #include "NewPlacement.hpp"
#include "NewPlacement.hpp"
#include "WavPlayer.hpp"
#include "LibraryGui.hpp"
@ -8,6 +8,11 @@
void runApp() {
TrackPlayer player;
player.startStreamTrack(0);
player.playSong();
Library library;
library.loadJson("library/Library.json");
@ -32,7 +37,6 @@ void runApp() {
}
int main() {
// example();
tp::ModuleManifest* deps[] = { &tp::gModuleLibraryViewer, nullptr };
tp::ModuleManifest binModule("LibViewEntry", nullptr, nullptr, deps);