2006-03-08 05:24:23 +01:00
|
|
|
/*
|
|
|
|
* 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");
|
|
|
|
}
|
|
|
|
|
2006-04-04 13:38:40 +02:00
|
|
|
int
|
|
|
|
audiodevread(void *a, int n)
|
|
|
|
{
|
|
|
|
error("no audio support");
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
int
|
|
|
|
audiodevwrite(void *a, int n)
|
|
|
|
{
|
|
|
|
error("no audio support");
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
2006-03-08 05:24:23 +01:00
|
|
|
void
|
|
|
|
audiodevsetvol(int what, int left, int right)
|
|
|
|
{
|
|
|
|
error("no audio support");
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
audiodevgetvol(int what, int *left, int *right)
|
|
|
|
{
|
|
|
|
error("no audio support");
|
|
|
|
}
|
|
|
|
|