Track::set_diskstream (boost::shared_ptr<Diskstream> ds)
{
_diskstream = ds;
-
+
ds->PlaylistChanged.connect_same_thread (*this, boost::bind (&Track::diskstream_playlist_changed, this));
diskstream_playlist_changed ();
ds->RecordEnableChanged.connect_same_thread (*this, boost::bind (&Track::diskstream_record_enable_changed, this));
_diskstream->set_capture_offset ();
}
-list<boost::shared_ptr<Source> >
+list<boost::shared_ptr<Source> >
Track::steal_write_sources()
{
return _diskstream->steal_write_sources ();
_diskstream->set_block_size (n);
}
-void
+void
Track::adjust_playback_buffering ()
{
if (_diskstream) {
}
}
-void
+void
Track::adjust_capture_buffering ()
{
if (_diskstream) {
void
Track::maybe_declick (BufferSet& bufs, framecnt_t nframes, int declick)
-{
- /* never declick if there is an internal generator - we just want it to
+{
+ /* never declick if there is an internal generator - we just want it to
keep generating sound without interruption.
*/