Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Critical Bug] Failed to load sound in folder: sound/folder1/folder2 #72

Open
lespaul64 opened this issue Jun 4, 2024 · 1 comment
Open

Comments

@lespaul64
Copy link

Let say my folder structure is like this:

  • sound 1 = sound/folder1/1.wav
  • sound 2 = sound/folder1/folder2/2.wav

the issue is MetaAudio only can play sound in folder sound/.wav and sound/folder1/.wav
but fail to locate & play sound files in folder: sound/folder1/folder2/*.wav

S_LoadSound: Couldn't load folder2/2.wav. Failed to open file.
S_LoadSound: Couldn't load folder2/2.flac. Failed to open file.
S_LoadSound: Couldn't load folder2/2.ogg. Failed to open file.
S_LoadSound: Couldn't load folder2/2.mp3. Failed to open file.
S_LoadSound: Couldn't load folder2/2.wav.

Here i attach the amxmodx plugin + sound files to reproduce the issue.
metaaudio_folder_issue.zip

@lespaul64
Copy link
Author

It seems the problem has been fixed. Thanks to https://github.com/prsyahmi for the VoxManager.cpp patch.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant