projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
part two of: make region gain line visibility global, not per-region
[ardour.git]
/
libs
/
ardour
/
ardour
/
auditioner.h
diff --git
a/libs/ardour/ardour/auditioner.h
b/libs/ardour/ardour/auditioner.h
index aa525b68c9dee35b9d6de3ac9814c2d709cf1a29..8c5a21bea6fd3c539643a73fbfb473476ee86ba3 100644
(file)
--- a/
libs/ardour/ardour/auditioner.h
+++ b/
libs/ardour/ardour/auditioner.h
@@
-39,25
+39,33
@@
class Auditioner : public AudioTrack
Auditioner (Session&);
~Auditioner ();
Auditioner (Session&);
~Auditioner ();
+ int init ();
+
void audition_region (boost::shared_ptr<Region>);
ARDOUR::AudioPlaylist& prepare_playlist ();
void audition_current_playlist ();
void audition_region (boost::shared_ptr<Region>);
ARDOUR::AudioPlaylist& prepare_playlist ();
void audition_current_playlist ();
- int play_audition (nframes_t nframes);
+ int play_audition (framecnt_t nframes);
+
+ MonitorState monitoring_state () const;
void cancel_audition () {
void cancel_audition () {
- g_atomic_int_set (&_a
ctive
, 0);
+ g_atomic_int_set (&_a
uditioning
, 0);
}
}
- bool active() const { return g_atomic_int_get (&_active); }
+ bool auditioning() const { return g_atomic_int_get (&_auditioning); }
+ bool needs_monitor() const { return via_monitor; }
+
+ virtual ChanCount input_streams () const;
private:
boost::shared_ptr<AudioRegion> the_region;
private:
boost::shared_ptr<AudioRegion> the_region;
-
nframe
s_t current_frame;
- mutable gint _a
ctive
;
+
framepo
s_t current_frame;
+ mutable gint _a
uditioning
;
Glib::Mutex lock;
Glib::Mutex lock;
- nframes_t length;
+ framecnt_t length;
+ bool via_monitor;
void drop_ports ();
static void *_drop_ports (void *);
void drop_ports ();
static void *_drop_ports (void *);