summaryrefslogtreecommitdiffstats
path: root/kscd/libwm/audio/audio.h
blob: 089ea1167a3c0a92c97b3ce71729bc01b98178fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Audio 'LIB' defines
 */
#include "../include/wm_cdda.h"

#ifndef NULL
#define NULL 0
#endif

struct audio_oops {
  int (*wmaudio_open)(void);
  int (*wmaudio_close)(void);
  int (*wmaudio_play)(struct cdda_block*);
  int (*wmaudio_stop)(void);
  int (*wmaudio_state)(struct cdda_block*);
  int (*wmaudio_balance)(int);
  int (*wmaudio_volume)(int);
};

extern struct audio_oops* setup_soundsystem(const char*, const char*, const char*);