link to ALSA (libasound) v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Fri, 18 Dec 2020 23:28:16 +0100
branchv_0
changeset 3e238528eb19c
parent 2 f34476ab597f
child 4 4d777d6c8024
link to ALSA (libasound)
AlsaBridge.cpp
AlsaBridge.h
Makefile
     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)