mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
Fix pre-roll rec trim near 00:00:00
This commit is contained in:
parent
1736cb9ef5
commit
2e90a58611
1 changed files with 1 additions and 1 deletions
|
|
@ -908,7 +908,7 @@ Session::request_preroll_record_trim (samplepos_t rec_in, samplecnt_t preroll)
|
|||
config.set_punch_out (false);
|
||||
|
||||
samplepos_t pos = std::max ((samplepos_t)0, rec_in - preroll);
|
||||
_preroll_record_trim_len = preroll;
|
||||
_preroll_record_trim_len = rec_in - pos;
|
||||
maybe_enable_record ();
|
||||
request_locate (pos, MustRoll);
|
||||
set_requested_return_sample (rec_in);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue