diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2013-05-04 21:04:19 +0000 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2013-05-04 21:04:19 +0000 |
commit | 43d33129903823d162df132ab9293a903e053776 (patch) | |
tree | 6052d08b32299483c3ac76c5925ede809e3db30f /src/instru2light.c | |
parent | 5dff05eaa5ca6360f19c51dc87f53d3831ea380a (diff) | |
download | 2012-violon-leds-origin/trunk.tar.gz 2012-violon-leds-origin/trunk.tar.bz2 2012-violon-leds-origin/trunk.zip |
Ajout Copyright 2013 + amelioration capture pulseorigin/trunk
git-svn-id: file:///var/svn/2012-violon-leds/trunk@34 6be1fa4d-33ac-4c33-becc-79fcb3794bb6
Diffstat (limited to 'src/instru2light.c')
-rw-r--r-- | src/instru2light.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <lpouzenc@gmail.com> + Copyright (C) 2012-2013 Ludovic Pouzenc <lpouzenc@gmail.com> 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); |