mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
the Properties & 64bit region commit
git-svn-id: svn://localhost/ardour2/branches/3.0@6695 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
cdcc4d3720
commit
ce7a5e1c9f
107 changed files with 2680 additions and 2194 deletions
|
|
@ -483,8 +483,16 @@ AudioStreamView::setup_rec_box ()
|
|||
+ _trackview.get_diskstream()->get_captured_frames(rec_regions.size()-1);
|
||||
}
|
||||
|
||||
boost::shared_ptr<AudioRegion> region (boost::dynamic_pointer_cast<AudioRegion>(
|
||||
RegionFactory::create (sources, start, 1, "", 0, Region::DefaultFlags, false)));
|
||||
PropertyList plist;
|
||||
|
||||
plist.add (Properties::start, start);
|
||||
plist.add (Properties::length, 1);
|
||||
plist.add (Properties::name, string());
|
||||
plist.add (Properties::layer, 0);
|
||||
|
||||
boost::shared_ptr<AudioRegion> region (
|
||||
boost::dynamic_pointer_cast<AudioRegion>(RegionFactory::create (sources, plist, false)));
|
||||
|
||||
assert(region);
|
||||
region->block_property_changes ();
|
||||
region->set_position (_trackview.session()->transport_frame(), this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue