summaryrefslogtreecommitdiff
path: root/include/mossrose.h
blob: 5ca454aba4a0b2524158c58831673d16c39c6a31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef MOSSROSE_H
#define MOSSROSE_H

#include <stddef.h>

struct mossrose_sound_t {
	float *left;
	float *right;
	size_t len;
};

int mossrose_init(double sample_rate, int n_channels);

int mossrose_terminate();

int mossrose_play(struct mossrose_sound_t *sound, int channel);

#endif