summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_report.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-02-14 17:08:15 +0100
committerRobin Gareus <robin@gareus.org>2016-02-14 17:08:15 +0100
commitb9efb2ae21b785ef7273af22df1a8fcad168227f (patch)
tree5ae5ec182f3c92f88c151e93e6e05e29749bf61c /gtk2_ardour/export_report.h
parent9527fcd65ff6eee767f1e48191ed17164e04dd66 (diff)
Move Export Audition Buttons to the bottom
Diffstat (limited to 'gtk2_ardour/export_report.h')
-rw-r--r--gtk2_ardour/export_report.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk2_ardour/export_report.h b/gtk2_ardour/export_report.h
index 6eee0d634b..8474688c48 100644
--- a/gtk2_ardour/export_report.h
+++ b/gtk2_ardour/export_report.h
@@ -124,6 +124,7 @@ private:
void open_folder (std::string);
void audition (std::string, unsigned int, int);
void stop_audition ();
+ void play_audition ();
void audition_active (bool);
void audition_seek (int, float);
void audition_progress (ARDOUR::framecnt_t, ARDOUR::framecnt_t);
@@ -133,9 +134,19 @@ private:
Gtk::Notebook pages;
ARDOUR::Session* _session;
Gtk::Button* stop_btn;
+ Gtk::Button* play_btn;
PBD::ScopedConnectionList auditioner_connections;
+ struct AuditionInfo {
+ AuditionInfo (std::string p, unsigned int c) : path (p), channels (c) {}
+ AuditionInfo () : channels (0) {}
+ std::string path;
+ unsigned int channels;
+ };
+
std::map<int, std::list<CimgArea*> > timeline;
+ std::map<int, AuditionInfo> files;
+
int _audition_num;
int _page_num;
};