hdjd/alsa.h

15 lines
346 B
C
Raw Normal View History

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);
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();
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