mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Add defines in oss-util.
Authored-by: Jeremy Messenger <mezz@FreeBSD.org>
This commit is contained in:
parent
21e1f22478
commit
10b9031763
1 changed files with 18 additions and 0 deletions
|
|
@ -39,6 +39,24 @@
|
|||
|
||||
#include "oss-util.h"
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#ifndef DSP_CAP_COPROC
|
||||
#define DSP_CAP_COPROC 0x00000800
|
||||
#endif
|
||||
#ifndef DSP_CAP_TRIGGER
|
||||
#define DSP_CAP_TRIGGER 0x00001000
|
||||
#endif
|
||||
#ifndef DSP_CAP_MMAP
|
||||
#define DSP_CAP_MMAP 0x00002000
|
||||
#endif
|
||||
#ifndef DSP_CAP_MULTI
|
||||
#define DSP_CAP_MULTI 0x00004000
|
||||
#endif
|
||||
#ifndef DSP_CAP_BIND
|
||||
#define DSP_CAP_BIND 0x00008000
|
||||
#endif
|
||||
#endif
|
||||
|
||||
int pa_oss_open(const char *device, int *mode, int* pcaps) {
|
||||
static const int nonblock_io = 1;
|
||||
int fd = -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue