diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-08-16 01:19:06 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-08-16 01:19:06 +0000 |
commit | 1ae094813858a2b8cf5b08569edcb9b15d910729 (patch) | |
tree | 6480b5875c393dab24ee410c8d661590bb3c4ffb /libs/ardour/auditioner.cc | |
parent | c5619a0f981161b441da1216de1f9c2e26190768 (diff) |
RCU-ification of AudioEngine port list, and DiskStreams. not well tested, but basically functional. better to get this in now rather than later.
git-svn-id: svn://localhost/ardour2/trunk@828 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/auditioner.cc')
-rw-r--r-- | libs/ardour/auditioner.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/auditioner.cc b/libs/ardour/auditioner.cc index e48f103b9f..dc08979458 100644 --- a/libs/ardour/auditioner.cc +++ b/libs/ardour/auditioner.cc @@ -49,7 +49,7 @@ Auditioner::Auditioner (Session& s) } if (right.length()) { - audio_diskstream().add_channel(); + audio_diskstream()->add_channel(); add_output_port (right, this, DataType::AUDIO); } @@ -117,11 +117,11 @@ Auditioner::audition_region (AudioRegion& region) _diskstream->playlist()->add_region (*the_region, 0, 1, false); while (_diskstream->n_channels() < the_region->n_channels()) { - audio_diskstream().add_channel (); + audio_diskstream()->add_channel (); } while (_diskstream->n_channels() > the_region->n_channels()) { - audio_diskstream().remove_channel (); + audio_diskstream()->remove_channel (); } /* force a panner reset now that we have all channels */ |