mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 23:46:20 +01:00
Fix changing playlist (Track is responsible for signal emission)
This commit is contained in:
parent
c724f3f82c
commit
94cce9e06e
3 changed files with 3 additions and 5 deletions
|
|
@ -110,8 +110,6 @@ class LIBARDOUR_API DiskIOProcessor : public Processor
|
|||
virtual void playlist_modified () {}
|
||||
virtual int use_playlist (DataType, boost::shared_ptr<Playlist>);
|
||||
|
||||
PBD::Signal1<void,DataType> PlaylistChanged;
|
||||
|
||||
virtual void adjust_buffering() = 0;
|
||||
|
||||
protected:
|
||||
|
|
|
|||
|
|
@ -362,9 +362,6 @@ DiskIOProcessor::use_playlist (DataType dt, boost::shared_ptr<Playlist> playlist
|
|||
|
||||
DEBUG_TRACE (DEBUG::DiskIO, string_compose ("%1 now using playlist %1 (%2)\n", name(), playlist->name(), playlist->id()));
|
||||
|
||||
PlaylistChanged (dt); /* EMIT SIGNAL */
|
||||
_session.set_dirty ();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -827,6 +827,9 @@ Track::use_playlist (DataType dt, boost::shared_ptr<Playlist> p)
|
|||
_playlists[dt] = p;
|
||||
}
|
||||
|
||||
_session.set_dirty ();
|
||||
PlaylistChanged (); /* EMIT SIGNAL */
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue