Rename Session::import_audiofile to Session::import_audiofiles now that it imports more than a single file
git-svn-id: svn://localhost/ardour2/trunk@2676 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b5e959cc4c
commit
a39a9ea2d4
@ -390,7 +390,7 @@ Editor::import_sndfiles (vector<ustring> paths, ImportMode mode, SrcQuality qual
|
|||||||
track_canvas.get_window()->set_cursor (Gdk::Cursor (Gdk::WATCH));
|
track_canvas.get_window()->set_cursor (Gdk::Cursor (Gdk::WATCH));
|
||||||
ARDOUR_UI::instance()->flush_pending ();
|
ARDOUR_UI::instance()->flush_pending ();
|
||||||
|
|
||||||
/* start import thread for this spec. this will ultimately call Session::import_audiofile()
|
/* start import thread for this spec. this will ultimately call Session::import_audiofiles()
|
||||||
and if successful will add the file(s) as a region to the session region list.
|
and if successful will add the file(s) as a region to the session region list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -742,7 +742,7 @@ Editor::_import_thread (void *arg)
|
|||||||
void *
|
void *
|
||||||
Editor::import_thread ()
|
Editor::import_thread ()
|
||||||
{
|
{
|
||||||
session->import_audiofile (import_status);
|
session->import_audiofiles (import_status);
|
||||||
pthread_exit_pbd (0);
|
pthread_exit_pbd (0);
|
||||||
/*NOTREACHED*/
|
/*NOTREACHED*/
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -582,7 +582,7 @@ class Session : public PBD::StatefulDestructible
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
int import_audiofile (import_status&);
|
int import_audiofiles (import_status&);
|
||||||
bool sample_rate_convert (import_status&, string infile, string& outfile);
|
bool sample_rate_convert (import_status&, string infile, string& outfile);
|
||||||
string build_tmp_convert_name (string file);
|
string build_tmp_convert_name (string file);
|
||||||
|
|
||||||
|
@ -232,7 +232,7 @@ remove_file_source (boost::shared_ptr<AudioFileSource> file_source)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
Session::import_audiofile (import_status& status)
|
Session::import_audiofiles (import_status& status)
|
||||||
{
|
{
|
||||||
uint32_t cnt = 1;
|
uint32_t cnt = 1;
|
||||||
typedef vector<boost::shared_ptr<AudioFileSource> > AudioSources;
|
typedef vector<boost::shared_ptr<AudioFileSource> > AudioSources;
|
||||||
|
Loading…
Reference in New Issue
Block a user