+ string soundFileStr = node->getStringValue("path", "");
+ _sample = new SGSoundSample(soundFileStr.c_str(), currentDir);
+ if (!_sample->file_path().exists()) {
+ throw sg_io_exception("XML sound: couldn't find file: '" + soundFileStr + "'");
+ }
+