Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
02-28-2012 08:14 AM
When I try to use mmrenderer_event_get_state to determine if a track has finished playing I'm getting.
implicit declaration of function 'mmrenderer_event_get_state'
I can play sounds fine but I need to be able to determine when they've stopped so that I can restart them at the appropriate time.
When I look at the header file <mm/renderer.h> it doesn't contain a declaration for this function but when I look at the documentation specifically:
It lists 'mmrenderer_event_get_state' as being defined in this header as well as the associated required type
I've spent too much time already trying to resolve this and I'm banging my head against the wall.
I'm using bbndk-2.0.0-beta3 and devloping the the IDE.
Any help would be appreciated.
02-28-2012 10:42 AM
So your main goal is to constantly repeat the audio.
Please have a look a the following link:
mmr_input_parameters() with the repeat parameter is likely what you're looking for.
02-28-2012 05:50 PM
See also this thread where I gave some example code:
02-28-2012 05:58 PM
Also, to answer your original question, I believe bps/mmrenderer.h is where these are defined.
The docs page doesn't seem to mention this as a required include.. I will pass the info along to the docs folks.