.................

This commit is contained in:
2025-11-11 22:19:18 -05:00
parent 7e1b8c8b04
commit d7c481a20b
8 changed files with 32 additions and 4 deletions

View File

@@ -29,6 +29,11 @@ namespace anm2ed::anm2
audio = Audio(this->path.c_str());
}
Sound::Sound(const std::filesystem::path& directory, const std::filesystem::path& path)
: Sound(directory.string(), path.string())
{
}
Sound::Sound(XMLElement* element, int& id)
{
if (!element) return;
@@ -63,4 +68,4 @@ namespace anm2ed::anm2
bool Sound::is_valid() { return audio.is_valid(); }
void Sound::play() { audio.play(); }
}
}