1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
/*
* Linux and BSD
*/
#include "u.h"
#include "lib.h"
#include "dat.h"
#include "fns.h"
#include "error.h"
#include "devaudio.h"
/* maybe this should return -1 instead of sysfatal */
void
audiodevopen(void)
{
error("no audio support");
}
void
audiodevclose(void)
{
error("no audio support");
}
int
audiodevread(void *a, int n)
{
error("no audio support");
return -1;
}
int
audiodevwrite(void *a, int n)
{
error("no audio support");
return -1;
}
void
audiodevsetvol(int what, int left, int right)
{
error("no audio support");
}
void
audiodevgetvol(int what, int *left, int *right)
{
error("no audio support");
}
|