• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

Sound not looping

Holzchopf

Well-known member
3rd Party Module Dev
Tutorial Author
Joined
Jul 31, 2017
Messages
500
Hi

When I try to play an .ogg file via PlaySound with the flag set to loop, it doesn't loop on Android. Is this Android specific or does my .ogg file miss loop points and if so, how do I add them?
 
Just a friendly guess. Try to set the loop parameter to greater than 1. What happens? I imagine that on Android it is the amount of loops played.
 
Did you try looping a different .ogg file? Maybe the file is corrupted somehow or too short? I use ogg with looping a lot and haven't had trouble. Is it a music file? Try PlayMusic().
 
:oops: I totally forgot about this... erm... No I did not even try Mike's approach so far. I found a workaround back then* and now I'm too busy -_- well I guess I can conclude that the loop parameter is not the amount of loops played - otherwise you would have confirmed that, wouldn't you? No I did not try other .ogg files. It's a ~1.5sec sample which I exported with Audacity and it plays nice. Could be corrupted (I mean, there MUST be a reason why it doesn't loop), but too short? I don't think so. Maybe it's also my old device. What did you use where ogg looping works?

What exactly do you mean with music file?

* The workaround that did it for me: The sound is more or less just noise, so i can just restart the sound every now and then (0.8 to 1.4sec or so) without it making an audible "click".
 
dont know it this would help but i had image files and audio files that played fine on other programs but not cx until i resaved them as the same file type then they worked fine.
 
Back
Top Bottom