Hello,
I wouldn't bet that anyone would help me with regarding the issue but I will try. Since I actually overspent too much hours on that and potentially will try weeks later from now on to work on this issue.
In short: I am using otcv8 and in windows the sound system works perfectly. However, in android client there I have issues and the issue is the audio simply doesn't play.
Firstly, if defining FW_SOUND then includes of AL are not found and the directory where it exists are the same as defined in apple otcv8-dev/declarations.h at master · OTCv8/otcv8-dev (https://github.com/OTCv8/otcv8-dev/blob/master/src/framework/sound/declarations.h#L36) and it compiles all fine however audio files does not actually play.
Secondly, I thought it may be that I am missing some permissions in android manifest: Android permission READ_MEDIA_AUDIO and READ_EXTERNAL_STORAGE for API level < 33 (https://stackoverflow.com/questions/73985513/android-permission-read-media-audio-and-read-external-storage-for-api-level-33) however adding anything related also doesn't solve the issue.
Lastly, the objects of g_sounds and musicChannel = g_sounds.getChannel(SoundChannels.Music) are initiated successfully in android client too and function musicChannel:enqueue(musicFilename, 0) executes sucessfuly however no audio actually plays. Again to mention this issue doesn't exist in windows client. Any tips would be greatly appreciated! I also bet that the same issue has mehah client and you guys just recently launched with android port I saw in which I am extremely interested and happy to see!
I wouldn't bet that anyone would help me with regarding the issue but I will try. Since I actually overspent too much hours on that and potentially will try weeks later from now on to work on this issue.
In short: I am using otcv8 and in windows the sound system works perfectly. However, in android client there I have issues and the issue is the audio simply doesn't play.
Firstly, if defining FW_SOUND then includes of AL are not found and the directory where it exists are the same as defined in apple otcv8-dev/declarations.h at master · OTCv8/otcv8-dev (https://github.com/OTCv8/otcv8-dev/blob/master/src/framework/sound/declarations.h#L36) and it compiles all fine however audio files does not actually play.
Secondly, I thought it may be that I am missing some permissions in android manifest: Android permission READ_MEDIA_AUDIO and READ_EXTERNAL_STORAGE for API level < 33 (https://stackoverflow.com/questions/73985513/android-permission-read-media-audio-and-read-external-storage-for-api-level-33) however adding anything related also doesn't solve the issue.
Lastly, the objects of g_sounds and musicChannel = g_sounds.getChannel(SoundChannels.Music) are initiated successfully in android client too and function musicChannel:enqueue(musicFilename, 0) executes sucessfuly however no audio actually plays. Again to mention this issue doesn't exist in windows client. Any tips would be greatly appreciated! I also bet that the same issue has mehah client and you guys just recently launched with android port I saw in which I am extremely interested and happy to see!