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

Function mad_synth_init

modules/data/mp3/libmad/synth.c:55–65  ·  view source on GitHub ↗

NAME: synth->init() DESCRIPTION: initialize synth struct */

Source from the content-addressed store, hash-verified

53 DESCRIPTION: initialize synth struct
54*/
55void mad_synth_init(struct mad_synth *synth)
56{
57 stack(__FUNCTION__,__FILE__,__LINE__);
58 mad_synth_mute(synth);
59
60 synth->phase = 0;
61
62 synth->pcm.samplerate = 0;
63 synth->pcm.channels = 0;
64 synth->pcm.length = 0;
65}
66
67/*
68 NAME: synth->mute()

Callers 2

xs_mp3Function · 0.85
run_syncFunction · 0.85

Calls 1

mad_synth_muteFunction · 0.85

Tested by

no test coverage detected