mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 04:09:29 +01:00
triggerbox: avoid float/double warning
This commit is contained in:
parent
9f957f8220
commit
c6e141aaba
1 changed files with 2 additions and 2 deletions
|
|
@ -1137,11 +1137,11 @@ AudioTrigger::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sa
|
|||
|
||||
if (!passthru) {
|
||||
buf.read_from (src, from_stretcher, dest_offset);
|
||||
if (_gain != 1.0) {
|
||||
if (_gain != 1.0f) {
|
||||
buf.apply_gain (_gain, from_stretcher);
|
||||
}
|
||||
} else {
|
||||
if (_gain != 1.0) {
|
||||
if (_gain != 1.0f) {
|
||||
buf.accumulate_with_gain_from (src, from_stretcher, _gain, dest_offset);
|
||||
} else {
|
||||
buf.accumulate_from (src, from_stretcher, dest_offset);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue