MCPcopy Create free account
hub / github.com/ClassicOldSong/Apollo / cb_i

Function cb_i

src/platform/linux/audio.cpp:159–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 }
158
159 void cb_i(ctx_t::pointer ctx, std::uint32_t i, void *userdata) {
160 auto alarm = (safe::alarm_raw_t<int> *) userdata;
161
162 alarm->ring(i);
163 }
164
165 void ctx_state_cb(ctx_t::pointer ctx, void *userdata) {
166 auto &f = *(std::function<void(ctx_t::pointer)> *) userdata;

Callers

nothing calls this directly

Calls 1

ringMethod · 0.80

Tested by

no test coverage detected