vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

devaudio-none.c (609B)


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