I made a check routine to see if audio output is ok, but it fails only on amiga.
Code: Select all
@SAMPLE 1,"DeathFlash.wav"
@SAMPLE 2,"drop2s.mp3"
If IsSound() = False
SystemRequest("My App", "Sorry, sound is required!", "OK")
End
EndIf
Code: Select all
@SAMPLE 1,"DeathFlash.wav"
@SAMPLE 2,"drop2s.mp3"
If IsSound() = False
SystemRequest("My App", "Sorry, sound is required!", "OK")
End
EndIf
and if fail will fail to directshow in windows and datatypes in amiga (native)inbuilt sound loaders:
IFF 8SVX, IFF 16SV, RIFF WAVE, and Protracker.
thank you! I was searching in the manual probably for the wrong keywords. And to look into the LoaderApater I didn't get the idea to...plouf wrote: ↑Sun Apr 21, 2024 7:40 pm well acoording to maunual ->https://www.hollywood-mal.com/docs/html ... rInfo.html
Keep in mind that sound.datatype doesn't support streaming so the mpega datatype is probably trying to decode the whole MP3 into a single memory buffer which is of course overkill because decoding the raw PCM data of a 4 minutes of music will consume like 40 MB of memory.