13
0

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:
Tim Mayberry 2007-11-15 02:32:35 +00:00
parent b5e959cc4c
commit a39a9ea2d4
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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);

View 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;