diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-13 16:32:24 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-18 12:11:08 -0500 |
commit | 1948b50a68381d7ffb14a88ffcf6da2c910bc012 (patch) | |
tree | b8e455ad1d4290ff913a2fee839708773c77ec2a /libs/ardour/audio_track.cc | |
parent | 55094b723774086d0f54d688b1ca73a4df82b93e (diff) |
working version of new gain control design
Diffstat (limited to 'libs/ardour/audio_track.cc')
-rw-r--r-- | libs/ardour/audio_track.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/audio_track.cc b/libs/ardour/audio_track.cc index 5e4a3bf236..f5d5207cc6 100644 --- a/libs/ardour/audio_track.cc +++ b/libs/ardour/audio_track.cc @@ -166,7 +166,7 @@ AudioTrack::deprecated_use_diskstream_connections () diskstream->deprecated_io_node = 0; if ((prop = node.property ("gain")) != 0) { - _amp->set_gain (atof (prop->value().c_str()), this); + _amp->gain_control()->set_value (atof (prop->value().c_str()), PBD::Controllable::NoGroup); } if ((prop = node.property ("input-connection")) != 0) { |