mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 14:46:34 +01:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue