summaryrefslogtreecommitdiff
path: root/Applications/Piano
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/Piano')
-rw-r--r--Applications/Piano/Makefile2
-rw-r--r--Applications/Piano/main.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/Applications/Piano/Makefile b/Applications/Piano/Makefile
index ed2c50af3f..1e362554df 100644
--- a/Applications/Piano/Makefile
+++ b/Applications/Piano/Makefile
@@ -11,7 +11,7 @@ DEFINES += -DUSERLAND
all: $(APP)
$(APP): $(OBJS)
- $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -lcore -lc
+ $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -lcore -lc -laudio
.cpp.o:
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
diff --git a/Applications/Piano/main.cpp b/Applications/Piano/main.cpp
index b6e927f565..d453f3b5ad 100644
--- a/Applications/Piano/main.cpp
+++ b/Applications/Piano/main.cpp
@@ -2,6 +2,7 @@
#include "PianoWidget.h"
#include <LibCore/CFile.h>
#include <LibCore/CNotifier.h>
+#include <LibAudio/AClientConnection.h>
#include <LibGUI/GApplication.h>
#include <LibGUI/GEventLoop.h>
#include <LibGUI/GWindow.h>
@@ -10,6 +11,7 @@ static int s_pipefds[2];
int main(int argc, char** argv)
{
+ AClientConnection audio_connection;
GApplication app(argc, argv);
pipe(s_pipefds);