projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
region list patch #2 from chris g, slightly reworked by me; sv_se po changes, possibl...
[ardour.git]
/
gtk2_ardour
/
export_region_dialog.cc
diff --git
a/gtk2_ardour/export_region_dialog.cc
b/gtk2_ardour/export_region_dialog.cc
index cb3804c11b224f3694c4d6264cd3a22f3ada6b11..f73b990880fe9d7ecf3d95501ba58b46f8151aa3 100644
(file)
--- a/
gtk2_ardour/export_region_dialog.cc
+++ b/
gtk2_ardour/export_region_dialog.cc
@@
-28,14
+28,14
@@
#include "i18n.h"
#include "i18n.h"
-ExportRegionDialog::ExportRegionDialog (PublicEditor& editor, boost::shared_ptr<ARDOUR::Region> reg
ion
)
+ExportRegionDialog::ExportRegionDialog (PublicEditor& editor, boost::shared_ptr<ARDOUR::Region> reg)
: ExportDialog(editor)
: ExportDialog(editor)
+ , region(reg)
{
{
- set_title (_("ardour: export region"));
- file_frame.set_label (_("Export to File")),
+ assert(region);
-
audio_region = boost::dynamic_pointer_cast<ARDOUR::AudioRegion>(region
);
- assert(audio_region);
+
set_title (_("Ardour: Export Region")
);
+ file_frame.set_label (_("Export to File")),
do_not_allow_track_and_master_selection();
do_not_allow_channel_count_selection();
do_not_allow_track_and_master_selection();
do_not_allow_channel_count_selection();
@@
-43,7
+43,7
@@
ExportRegionDialog::ExportRegionDialog (PublicEditor& editor, boost::shared_ptr<
void
void
-ExportRegionDialog::export_
audio_
data()
+ExportRegionDialog::export_data()
{
pthread_t thr;
pthread_create_and_store ("region export", &thr, 0, ExportRegionDialog::_export_region_thread, this);
{
pthread_t thr;
pthread_create_and_store ("region export", &thr, 0, ExportRegionDialog::_export_region_thread, this);
@@
-71,5
+71,6
@@
ExportRegionDialog::_export_region_thread (void *arg)
void
ExportRegionDialog::export_region ()
{
void
ExportRegionDialog::export_region ()
{
-
audio_
region->exportme (getSession(), spec);
+ region->exportme (getSession(), spec);
}
}
+