Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 132
Registered: ‎11-06-2012
My Device: BlackBerry Passport

Repeat playing audio file without gap

[ Edited ]

I'm currently developing a application with background music is ambient sound. I set the MediaPlayer repeat mode is Track, but when the sound is playing there is a gap between every loop. I've researched over the API, but there no API for repeating the audio without gap.

 

Anyone know how to fix it, please help me.

 

Thanks so much.

 

 

Highlighted
Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Repeat playing audio file without gap

[ Edited ]

How about playing the track again as the other one is just ending?


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 132
Registered: ‎11-06-2012
My Device: BlackBerry Passport

Re: Repeat playing audio file without gap

I'm playing the sound with repeat track mode, that is why the gap is happened Smiley Sad.

Developer
Posts: 132
Registered: ‎11-06-2012
My Device: BlackBerry Passport

Re: Repeat playing audio file without gap

Anyone have solution for "seamlessly loop track"?

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Repeat playing audio file without gap

Was my suggestion not workable?

If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.