1.1 --- a/AlsaBridge.cpp Fri Dec 18 23:19:32 2020 +0100
1.2 +++ b/AlsaBridge.cpp Fri Dec 18 23:28:16 2020 +0100
1.3 @@ -16,6 +16,8 @@
1.4 */
1.5 #include <iostream>
1.6
1.7 +#include <alsa/asoundlib.h>
1.8 +
1.9 #include "AlsaBridge.h"
1.10
1.11 namespace djmfix {
2.1 --- a/AlsaBridge.h Fri Dec 18 23:19:32 2020 +0100
2.2 +++ b/AlsaBridge.h Fri Dec 18 23:28:16 2020 +0100
2.3 @@ -32,4 +32,4 @@
2.4 AlsaBridge* create(djmfix::DJMFix* djmFix);
2.5
2.6 }
2.7 -}
2.8 \ No newline at end of file
2.9 +}
3.1 --- a/Makefile Fri Dec 18 23:19:32 2020 +0100
3.2 +++ b/Makefile Fri Dec 18 23:28:16 2020 +0100
3.3 @@ -25,4 +25,4 @@
3.4
3.5 build/djm-fix: DJMFix.cpp DJMFix.h AlsaBridge.cpp AlsaBridge.h djm-fix.cpp
3.6 mkdir -p build
3.7 - g++ -o $@ DJMFix.cpp AlsaBridge.cpp djm-fix.cpp -lpthread
3.8 + g++ -o $@ DJMFix.cpp AlsaBridge.cpp djm-fix.cpp -lpthread $$(pkg-config --libs --cflags alsa)