mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 23:17:46 +01:00
clear click data when sample rate changes
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2352 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
218b893464
commit
2fc853ab33
1 changed files with 2 additions and 0 deletions
|
|
@ -1404,6 +1404,8 @@ Session::set_frame_rate (nframes_t frames_per_second)
|
||||||
|
|
||||||
IO::set_automation_interval ((jack_nframes_t) ceil ((double) frames_per_second * (0.001 * Config->get_automation_interval())));
|
IO::set_automation_interval ((jack_nframes_t) ceil ((double) frames_per_second * (0.001 * Config->get_automation_interval())));
|
||||||
|
|
||||||
|
clear_clicks ();
|
||||||
|
|
||||||
// XXX we need some equivalent to this, somehow
|
// XXX we need some equivalent to this, somehow
|
||||||
// SndFileSource::setup_standard_crossfades (frames_per_second);
|
// SndFileSource::setup_standard_crossfades (frames_per_second);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue