Project

General

Profile

Bug #9732 » 15-oss-util-h.patch

Gary Mills, 2018-08-13 09:09 PM

View differences:

pulseaudio-11.1/src/modules/oss/oss-util.h Sun Aug 5 18:21:06 2018
29 29

  
30 30
int pa_oss_set_fragments(int fd, int frags, int frag_size);
31 31

  
32
#define HAVE_OSSV4
33

  
34
#ifdef HAVE_OSSV4
35
int pa_oss_set_volume(int fd, oss_mixext *mixext, const pa_sample_spec *ss, const pa_cvolume *volume);
36
int pa_oss_get_volume(int fd, oss_mixext *mixext, const pa_sample_spec *ss, pa_cvolume *volume);
37

  
38
#else
39

  
32 40
int pa_oss_set_volume(int fd, unsigned long mixer, const pa_sample_spec *ss, const pa_cvolume *volume);
33 41
int pa_oss_get_volume(int fd, unsigned long mixer, const pa_sample_spec *ss, pa_cvolume *volume);
42
#endif
34 43

  
35 44
int pa_oss_get_hw_description(const char *dev, char *name, size_t l);
36 45

  
37
int pa_oss_open_mixer_for_device(const char *device);
46
int pa_oss_open_mixer_for_device(const char *device, int *number);
47
int pa_oss_open_mixer(const char *device);
38 48

  
39 49
#endif
(5-5/11)