2013-05-27 22:11:48 -06:00
|
|
|
#ifndef _ALSA_H_
|
|
|
|
#define _ALSA_H_
|
|
|
|
|
2013-09-08 17:45:44 -06:00
|
|
|
#include <stdint.h>
|
2013-05-27 22:11:48 -06:00
|
|
|
#include <sys/select.h>
|
|
|
|
|
|
|
|
int alsa_setup(const char *name);
|
2017-01-16 13:09:02 -07:00
|
|
|
void alsa_close();
|
|
|
|
void alsa_interrupting();
|
2013-05-27 22:11:48 -06:00
|
|
|
void alsa_fd_setup(int *nfds, fd_set *rfds, fd_set *wfds);
|
|
|
|
void alsa_read_ready();
|
2013-08-07 22:11:55 -06:00
|
|
|
void alsa_check_fds(fd_set *rfds, fd_set *wfds);
|
2013-09-08 17:45:44 -06:00
|
|
|
void alsa_write(uint8_t *data, size_t datalen);
|
2013-05-27 22:11:48 -06:00
|
|
|
#endif
|