-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Android: Axmol is failing to play wav and mp3 audio file format #1921
Comments
Please show the exact code used to preload the audio files |
Hi rh101,
Thank you, |
@asnagni The MP3 file is not using the MP3 codec, but rather the MP4A codec, as you can see here: The file extension is not entirely relevant, so when encoding to MP3, ensure that you're using an MP3 codec, such as this: This is not a bug with Axmol. The reason the "Test.mp3" file is working on iOS is because the MP4A format is supported on iOS. |
Hi rh101,
|
Hello,
On Android platform when we try to preload .wav or .mp3 audio files, the operation will fail. These formats are supposed to be supported by Axmol as far as I understand it. Maybe we need to setup a flag in the project CMake file? We are not sure at this point.
When the app is running, the files are located in a folder named "voiceMesages" in the app writable path.
When we try to preload the files the App will crash.
Steps to Reproduce:
audioFiles.zip
Thank you for your help,
Stay safe
The text was updated successfully, but these errors were encountered: