I'am playing a little mp3 file with soundpool (sound airhorn) which is located on DirAssets. This was allways working but now on Android 11 it doesn't work any more (several devices).
When i send the mp3 file by a mail attachment it will normaly playing.
Any suggestions?
{code}Dim Snd As SoundPool
Dim LoadId As Int
If Snd.IsInitialized = False Then Snd.Initialize(1)
LoadId = Snd.Load(File.DirAssets,"LuchtHoorn.MP3")
Snd.Play(LoadId,1,1,1,0,0){/code}
When i send the mp3 file by a mail attachment it will normaly playing.
Any suggestions?
{code}Dim Snd As SoundPool
Dim LoadId As Int
If Snd.IsInitialized = False Then Snd.Initialize(1)
LoadId = Snd.Load(File.DirAssets,"LuchtHoorn.MP3")
Snd.Play(LoadId,1,1,1,0,0){/code}