MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / reduce_timer

Function reduce_timer

modules/data/mp3/libmad/mad_timer.c:91–96  ·  view source on GitHub ↗

* NAME: reduce_timer() * DESCRIPTION: carry timer fraction into seconds */

Source from the content-addressed store, hash-verified

89 * DESCRIPTION: carry timer fraction into seconds
90 */
91static
92void reduce_timer(mad_timer_t *timer)
93{
94 timer->seconds += timer->fraction / MAD_TIMER_RESOLUTION;
95 timer->fraction %= MAD_TIMER_RESOLUTION;
96}
97
98/*
99 * NAME: gcd()

Callers 2

mad_timer_setFunction · 0.85
mad_timer_addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected