summaryrefslogtreecommitdiff
path: root/src/instru2light.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/instru2light.c')
-rw-r--r--src/instru2light.c4
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);