Settings.cpp: before opening wav file, check that no file is being played.