waveblender/dac.h

16 lines
274 B
C
Raw Normal View History

2020-04-06 21:08:01 +02:00
#ifndef DAC_H_INCLUDED
#define DAC_H_INCLUDED
#include <stdint.h>
void dac_init(void);
int dac_write(const void *buf, unsigned int len);
int dac_play(const void *buf, unsigned int len);
#define pot_get_master() pot_get(2)
#define pot_set_master(x) pot_set(2,x)
#endif