implemented volume control, and restructured slightly
[dos_auplay] / src / audrv.h
1 #ifndef AUDIO_DRIVER_H_
2 #define AUDIO_DRIVER_H_
3
4 struct audrv {
5         void (*start)(int rate, int bits, int nchan);
6         void (*pause)(void);
7         void (*cont)(void);
8         void (*stop)(void);
9         void (*setvolume)(int ctl, int vol);
10         int (*getvolume)(int ctl);
11         int (*isplaying)(void);
12 };
13
14 #endif  /* AUDIO_DRIVER_H_ */