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.