Use SessionDirectory for generating the sound directory path in Session::remove_empty_sounds
git-svn-id: svn://localhost/ardour2/trunk@1968 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
5dcea083d7
commit
8222f62216
@ -3370,7 +3370,8 @@ Session::remove_empty_sounds ()
|
||||
{
|
||||
PathScanner scanner;
|
||||
|
||||
vector<string *>* possible_audiofiles = scanner (sound_dir(), Config->get_possible_audio_file_regexp (), false, true);
|
||||
vector<string *>* possible_audiofiles = scanner (_session_dir.sound_path().to_string (),
|
||||
Config->get_possible_audio_file_regexp (), false, true);
|
||||
|
||||
Glib::Mutex::Lock lm (source_lock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user