From 43d33129903823d162df132ab9293a903e053776 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 4 May 2013 21:04:19 +0000 Subject: Ajout Copyright 2013 + amelioration capture pulse git-svn-id: file:///var/svn/2012-violon-leds/trunk@34 6be1fa4d-33ac-4c33-becc-79fcb3794bb6 --- src/instru2light.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/instru2light.c') diff --git a/src/instru2light.c b/src/instru2light.c index a72fd0f..1914b10 100644 --- a/src/instru2light.c +++ b/src/instru2light.c @@ -1,6 +1,6 @@ /* Instru2Light - Illumine un instrument de musique en temps réel - Copyright (C) 2012 Ludovic Pouzenc + Copyright (C) 2012-2013 Ludovic Pouzenc This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -75,7 +75,7 @@ void my_process(float *data, size_t nsamples, size_t nchan) { struct rgb_colour rgb; //FIXME : rate should came from PulseAudio - sound_level=compute_level(data, nsamples, 44100); + sound_level=compute_level(data, nsamples, 44100); //FIXME : no fixed rate here ! // printf("sound_level==%+8f nsamples==%8i\n", sound_level, nsamples); -- cgit v1.2.3