From 70958d6e6d40802c0f6ac0ed55bf704fbe2c9fc3 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Fri, 1 Jun 2012 20:21:08 +0000 Subject: Ecriture du test5 : intégration de PulseAudio dans le code du test4. Le squelette est là, l'initialisation du contexte pulse audio aussi. Reste : ouvrir les flux, écrire le callback pulse qui récupère le niveau sonore (avec timing si possible) et qui appelle le callback applicatif du test5.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/svn/2012-violon-leds/trunk@9 6be1fa4d-33ac-4c33-becc-79fcb3794bb6 --- tests/test5/compil.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests/test5/compil.sh') diff --git a/tests/test5/compil.sh b/tests/test5/compil.sh index 6ca9982..e69ee99 100755 --- a/tests/test5/compil.sh +++ b/tests/test5/compil.sh @@ -1,3 +1,7 @@ #!/bin/bash -ex -gcc -Wall -g -c test5.c $(pkg-config --cflags gtk+-2.0 libpulse libpulse-mainloop-glib) -gcc -Wall -o test5 test5.o $(pkg-config --libs gtk+-2.0 libpulse libpulse-mainloop-glib) +gcc -Wall -g -c gtkvumeter.c $(pkg-config --cflags gtk+-2.0) +gcc -Wall -g -c win_main.c $(pkg-config --cflags gtk+-2.0) +gcc -Wall -g -c compute.c $(pkg-config --cflags gtk+-2.0) +gcc -Wall -g -c capture.c $(pkg-config --cflags gtk+-2.0 libpulse) +gcc -Wall -g -c test5.c $(pkg-config --cflags gtk+-2.0 gthread-2.0 libpulse) +gcc -Wall -o test5 *.o $(pkg-config --libs gtk+-2.0 gthread-2.0 libpulse) -- cgit v1.2.3