git ssb

0+

cel / foostudio



Tree: fdc9644582b3e2b875598b772c5bdda6c74ef9e5

Files: fdc9644582b3e2b875598b772c5bdda6c74ef9e5 / tune.c

374 bytesRaw
1#include <math.h>
2#include "tune.h"
3
4static void tune_init(struct tune *tune)
5{
6}
7
8static void tune_reload(struct tune *tune)
9{
10}
11
12static double tune_play(struct tune *tune, int time)
13{
14 return sin(time);
15}
16
17static void tune_deinit(struct tune *tune)
18{
19}
20
21const struct tune TUNE = {
22 .init = tune_init,
23 .reload = tune_reload,
24 .play = tune_play,
25 .deinit = tune_deinit,
26};
27

Built with git-ssb-web