|
Allegro No audio Set Loop Points for Sample instances |
CRAZY CONDITIONS
Member #16,385
June 2016
|
I don't find this feature. At the moment I end Up cutting my Sounds perfectly for looped playback. Also interesting Here: The Sample instance's length in Samples May differ from that of the sample... Why this?
|
MikiZX
Member #17,092
June 2019
|
I have never used this so please take this only as a suggestion of what to check, no guarantee it would work. For the samples, looking at the source of Allegro5 (https://github.com/liballeg/allegro5/blob/master/addons/audio/allegro5/internal/aintern_audio.h) there seems to be 'loop_start' and 'loop_end' variables in definition of ALLEGRO_SAMPLE_INSTANCE structure though to a noob like me it appears these are internal and not exposed to the user - it would take someone who knows programming better to answer this correctly. Anyways, I hope this was of some help. |
|