#include #include "tune.h" static void tune_init(struct tune *tune) { } static void tune_reload(struct tune *tune) { } static float tune_play(struct tune *tune, double time) { return 0.99 * sin(time*440); } static void tune_deinit(struct tune *tune) { } const struct tune TUNE = { .init = tune_init, .reload = tune_reload, .play = tune_play, .deinit = tune_deinit, };