13
0

fix auditioning (bystander casualty of monitoring fixes)

git-svn-id: svn://localhost/ardour2/branches/3.0@11212 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-01-09 22:25:18 +00:00
parent e7bb933477
commit 9b99745c5a
2 changed files with 8 additions and 0 deletions

View File

@ -48,6 +48,8 @@ class Auditioner : public AudioTrack
int play_audition (framecnt_t nframes);
MonitorState monitoring_state () const;
void cancel_audition () {
g_atomic_int_set (&_auditioning, 0);
}

View File

@ -289,3 +289,9 @@ Auditioner::input_streams () const
return ChanCount ();
}
MonitorState
Auditioner::monitoring_state () const
{
return MonitoringDisk;
}