How to extract a TAudioSample fom TSound?
BlitzMax Forums/BlitzMax Programming/How to extract a TAudioSample fom TSound?
| ||
Hi there, I'm looking for a way to convert a loaded TSound into a TAudioSample. The structure of my project leads to the fact I am NOT knowing the name of the File it got loaded from, so I have to extract it from the TSound-Object itself. Any hints? I tried: - casting (not possible to convert from brl.audio.tsound to <unknown>) - memcopy (obviously not working, more a desperate cry than a try) - loadaudiosample(s:tsound) (returns NULL) |