Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #if (CONFIG_PLATFORM & PLATFORM_NATIVE)
- /* init sound */
- is_playing = rb->mp3_is_playing(); /* would we disturb playback? */
- if (!is_playing) /* no? then we can make sound */
- { /* prepare */
- rb->mp3_play_data(beep, sizeof(beep), callback);
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement