Fix spectral analysis of regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@12122 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0b0d252acf
commit
10ee558254
|
@ -334,6 +334,7 @@ AnalysisWindow::analyze_data (Gtk::Button */*button*/)
|
|||
n = length - x;
|
||||
}
|
||||
|
||||
memset (buf, 0, n * sizeof (Sample));
|
||||
n = arv->audio_region()->read_at(buf, mixbuf, gain, arv->region()->position() + x, n, channel);
|
||||
|
||||
if (n == 0)
|
||||
|
|
Loading…
Reference in New Issue