spek

Acoustic spectrum analyser
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

commit a63571d6ddddf140bb968d6aac02dbcb97efc8a4
parent fd0d80815d24ee8342d05956c82615dee820f33a
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date:   Wed, 30 Jun 2010 17:42:45 +1000

Merge branch 'master' into ffmpeg

Diffstat:
Msrc/spek-source.vala | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/spek-source.vala b/src/spek-source.vala @@ -169,7 +169,9 @@ namespace Spek { for (int i = 0; i < bands; i++) { values[i] = magnitudes.list_get_value (i).get_float (); } - data_cb (sample++, values); + if (sample < samples) { + data_cb (sample++, values); + } } break; case MessageType.TAG: