assert (_sources.size() == _master_sources.size());
}
-AudioRegion::AudioRegion (boost::shared_ptr<const AudioRegion> other, const SourceList& srcs,
+AudioRegion::AudioRegion (boost::shared_ptr<const AudioRegion> other, const SourceList& /*srcs*/,
nframes_t length, const string& name, layer_t layer, Flag flags)
: Region (other, length, name, layer, flags)
, _automatable (other->session())
}
nframes_t
-AudioRegion::_read_at (const SourceList& srcs, nframes_t limit,
+AudioRegion::_read_at (const SourceList& /*srcs*/, nframes_t limit,
Sample *buf, Sample *mixdown_buffer, float *gain_buffer,
sframes_t position, nframes_t cnt,
uint32_t chan_n,
- nframes_t read_frames,
- nframes_t skip_frames,
+ nframes_t /*read_frames*/,
+ nframes_t /*skip_frames*/,
ReadOps rops) const
{
nframes_t internal_offset;
void
AudioRegion::set_default_fade_in ()
{
+ _fade_in_disabled = 0;
set_fade_in (Linear, 64);
}
void
AudioRegion::set_default_fade_out ()
{
+ _fade_out_disabled = 0;
set_fade_out (Linear, 64);
}
void
AudioRegion::set_default_fades ()
{
- _fade_in_disabled = 0;
- _fade_out_disabled = 0;
set_default_fade_in ();
set_default_fade_out ();
}
}
int
-AudioRegion::separate_by_channel (Session& session, vector<boost::shared_ptr<Region> >& v) const
+AudioRegion::separate_by_channel (Session& /*session*/, vector<boost::shared_ptr<Region> >& v) const
{
SourceList srcs;
string new_name;
}
int
-AudioRegion::exportme (Session& session, ARDOUR::ExportSpecification& spec)
+AudioRegion::exportme (Session& /*session*/, ARDOUR::ExportSpecification& /*spec*/)
{
// TODO EXPORT
// const nframes_t blocksize = 4096;