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));
|
||||
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.
|
||||
*/
|
||||
|
||||
@ -742,7 +742,7 @@ Editor::_import_thread (void *arg)
|
||||
void *
|
||||
Editor::import_thread ()
|
||||
{
|
||||
session->import_audiofile (import_status);
|
||||
session->import_audiofiles (import_status);
|
||||
pthread_exit_pbd (0);
|
||||
/*NOTREACHED*/
|
||||
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);
|
||||
string build_tmp_convert_name (string file);
|
||||
|
||||
|
@ -232,7 +232,7 @@ remove_file_source (boost::shared_ptr<AudioFileSource> file_source)
|
||||
}
|
||||
|
||||
int
|
||||
Session::import_audiofile (import_status& status)
|
||||
Session::import_audiofiles (import_status& status)
|
||||
{
|
||||
uint32_t cnt = 1;
|
||||
typedef vector<boost::shared_ptr<AudioFileSource> > AudioSources;
|
||||
|
Loading…
Reference in New Issue
Block a user