apu_event_emitter.h
// called on generated a sample (pulse and triangle-noise-dmc)
called on generated a sample (pulse and triangle-noise-dmc)
called on generated a sample ( pulse and triangle - noise - dmc )
static inline void apu_event_emit_sample(apu_event_emitter_t *self, apu_ref apu, uint8_t pulse, uint8_t tnd)
{
    _apu_event_listener_on_sample_t *elem = NULL;
    list_foreach (&self->sample_listeners, elem) {
        elem->callback(elem->context, apu, pulse, tnd);
    }
}
static inline void apu_event_emit_sample ( apu_event_emitter_t * self , apu_ref apu , uint8_t pulse , uint8_t tnd ) { _apu_event_listener_on_sample_t * elem = NULL ; list_foreach ( & self -> sample_listeners , elem ) { elem -> callback ( elem -> context , apu , pulse , tnd ) ; } }
called on generated a sample (pulse and triangle-noise-dmc)
called on generated a sample ( pulse and triangle - noise - dmc )