13
0

A few comments.

git-svn-id: svn://localhost/ardour2/branches/3.0@9387 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-04-20 01:24:34 +00:00
parent d22cd939a3
commit e157694c67
2 changed files with 13 additions and 4 deletions

View File

@ -274,7 +274,15 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
/* Transport mechanism signals */
PBD::Signal0<void> TransportStateChange; /* generic */
/** Emitted on the following changes in transport state:
* - stop (from the butler thread)
* - change in whether or not we are looping (from the process thread)
* - change in the play range (from the process thread)
* - start (from the process thread)
* - engine halted
*/
PBD::Signal0<void> TransportStateChange;
PBD::Signal1<void,framepos_t> PositionChanged; /* sent after any non-sequential motion */
PBD::Signal1<void,framepos_t> Xrun;
PBD::Signal0<void> TransportLooped;

View File

@ -924,8 +924,8 @@ Session::locate (framepos_t target_frame, bool with_roll, bool with_flush, bool
}
/** Set the transport speed.
* @param speed New speed
* @param abort
* Called from the process thread.
* @param speed New speed
*/
void
Session::set_transport_speed (double speed, bool abort, bool clear_state)
@ -1097,6 +1097,7 @@ Session::stop_transport (bool abort, bool clear_state)
_butler->schedule_transport_work ();
}
/** Called from the process thread */
void
Session::start_transport ()
{
@ -1447,7 +1448,7 @@ Session::engine_halted ()
void
Session::xrun_recovery ()
{
Xrun (_transport_frame); //EMIT SIGNAL
Xrun (_transport_frame); /* EMIT SIGNAL */
if (Config->get_stop_recording_on_xrun() && actively_recording()) {