Adding Music Playback
This commit is contained in:
parent
a233b6a214
commit
b74c5bc5e5
12 changed files with 1840 additions and 149 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue