Basic output working
This commit is contained in:
16
src/source.h
Normal file
16
src/source.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef SOURCE_H
|
||||
#define SOURCE_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct {
|
||||
int sampleCount;
|
||||
int16_t *samples;
|
||||
} source_t;
|
||||
|
||||
int source_initSilence(source_t *self, int samples);
|
||||
char const* source_init(source_t *self, char const* filename);
|
||||
void source_deinit(source_t *self);
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user