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
New Developer
BiFkun
Posts: 4
Registered: ‎02-05-2013
My Device: BlackBerry 10 Dev Alpha A
My Carrier: MTS
Accepted Solution

Another sound problem

Hello everyone! As you can see, I have a sound problem. I searched a lot, but not found any solution.

I'm making an "easy" app with Native SDK, that playing sound when you tap buttons.

I used MMR and DSL, and all of them works not as i expecting.

MMR playing sound as expected, but when i tap two or more buttons in a row, it is firstly plays all sounds and then render all button graphics in the same time.

Now i'm trying DSL. I used wave.c example. It is works true as i tap the buttons, but sound starts late(about after 1 second). If i tap one button 2 times with some interval, it is works that way too. About 1 second "old" sound plays and then restarts.

I found one topic with same problem here, but there wasn't any solution.

I hope my english not so bad and hope to see any help here. Thanks.

Please use plain text.
Developer
step_jac
Posts: 89
Registered: ‎05-31-2012
My Device: BlackBerry Playbook
My Carrier: Bell

Re: Another sound problem

OpenAL may be a better fit for your app?

Please use plain text.
New Developer
BiFkun
Posts: 4
Registered: ‎02-05-2013
My Device: BlackBerry 10 Dev Alpha A
My Carrier: MTS

Re: Another sound problem

Thanks for advice. I'll give it a try and write here about results.

Please use plain text.
New Developer
BiFkun
Posts: 4
Registered: ‎02-05-2013
My Device: BlackBerry 10 Dev Alpha A
My Carrier: MTS

Re: Another sound problem

It worked! Thank you!

It was hard to link an example from HelloOggVorbis example... Google wasn't that perfect this time.

Now i can return to code the main logic.

Please use plain text.