20 #ifndef __ardour_auditioner_h__
21 #define __ardour_auditioner_h__
25 #include <glibmm/threads.h>
33 class AudioDiskstream;
51 void seek_to_percent (
float const pos) {
if (_seek_frame < 0 && !_seeking) { _seek_frame = floorf(
length * pos / 100.0); }}
60 g_atomic_int_set (&_auditioning, 0);
63 bool auditioning()
const {
return g_atomic_int_get (&_auditioning); }
70 _seek_complete =
true;
71 if (_seeking) { current_frame = pos; _seek_complete =
true;}
129 void lookup_synth ();
130 void config_changed (std::string);
131 static void *_drop_ports (
void *);
132 void actually_drop_ports ();
133 void output_changed (
IOChange,
void*);
boost::shared_ptr< Processor > asynth
boost::shared_ptr< AudioRegion > the_region
int export_stuff(BufferSet &, framepos_t, framecnt_t, boost::shared_ptr< Processor >, bool, bool, bool)
boost::shared_ptr< Diskstream > _diskstream_midi
boost::shared_ptr< Region > bounce_range(framepos_t, framepos_t, InterThreadInfo &, boost::shared_ptr< Processor >, bool)
boost::shared_ptr< Diskstream > diskstream_factory(XMLNode const &)
bool needs_monitor() const
frameoffset_t seek_frame() const
boost::shared_ptr< Diskstream > _diskstream_audio
void freeze_me(InterThreadInfo &)
void seek_to_percent(float const pos)
Glib::Threads::Mutex lock
bool bounceable(boost::shared_ptr< Processor >, bool) const
void seek_to_frame(frameoffset_t pos)
frameoffset_t _import_position
void set_state_part_two()
boost::shared_ptr< Region > bounce(InterThreadInfo &)
frameoffset_t _seek_frame
int set_state(const XMLNode &, int)
void seek_response(frameoffset_t pos)
LIBARDOUR_API bool init(bool with_vst, bool try_optimization, const char *localedir)
LIBARDOUR_API PBD::PropertyDescriptor< framecnt_t > length
PBD::Signal2< void, ARDOUR::framecnt_t, ARDOUR::framecnt_t > AuditionProgress
boost::shared_ptr< MidiRegion > midi_region