If you use fileRead() and try to play a sound with that result (raw data), you will receive an error in the F8 console, and the sound won't be played. This issue only occurs with OGG files. I have tried this with MP3 and WAV files, and it works perfectly. I have also tried various export and conversion settings for OGG sound files, but none of them seem to work.
The error in the console:
BASS ERROR 2 in LoadMedia path:E:\Multi Theft Auto 1.6\mods\deathmatch\resources\soundtest\OggS 3d:0 loop:0
Describe the bug
If you use fileRead() and try to play a sound with that result (raw data), you will receive an error in the F8 console, and the sound won't be played. This issue only occurs with OGG files. I have tried this with MP3 and WAV files, and it works perfectly. I have also tried various export and conversion settings for OGG sound files, but none of them seem to work.
The error in the console: BASS ERROR 2 in LoadMedia path:E:\Multi Theft Auto 1.6\mods\deathmatch\resources\soundtest\OggS 3d:0 loop:0
The test resource with the sound files: soundtest_resource.zip
Steps to reproduce
Version
Client: v1.6-release-22512 (Windows 10, 64-bit) Server: v1.6-release-21890 (Windows 10, 64-bit)
Additional context
No response
Relevant log output
No response
Security Policy