doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mixer_core.h
Go to the documentation of this file.
1 #ifndef MIXER_CORE_H
2 #define MIXER_CORE_H
3 /*
4  * Copyright by 4Front Technologies 1993-2004
5  *
6  * All rights reserved.
7  */
8 
9 /*
10  * IMPORTANT NOTICE!
11  *
12  * This file contains internal structures used by Open Sound Systems.
13  * They will change without any notice between OSS versions. Care must be taken
14  * to make sure any software using this header gets properly re-compiled before
15  * use.
16  *
17  * 4Front Technologies (or anybody else) takes no responsibility of damages
18  * caused by use of this file.
19  */
20 typedef int (*mixer_ext_fn) (int dev, int ctrl, unsigned int cmd, int value);
21 typedef int (*mixer_ext_init_fn) (int dev);
22 
23 typedef struct
24 {
28 }
30 
32 {
33  char id[16];
34  char name[64];
35  int (*ioctl) (int dev, int audiodev, unsigned int cmd, ioctl_arg arg);
36 
37  void *devc;
38  void *hw_devc;
40 
41  /* Mixer extension interface */
42  int nr_ext;
43  int max_ext;
45  int timestamp;
48  int ignore_mask; /* Controls ignored by mixer ext API */
50  int enabled;
51 };
52 
54 
55 extern struct mixer_operations **mixer_devs;
56 extern int num_mixers;
57 extern void touch_mixer (int dev);
58 extern int oss_mixer_ext (int orig_dev, unsigned int cmd, ioctl_arg arg);
59 extern int mixer_ext_set_enum (oss_mixer_enuminfo * ent);
60 
61 #endif
GLsizei const GLfloat * value
Definition: glext.h:3614
int(* mixer_ext_fn)(int dev, int ctrl, unsigned int cmd, int value)
Definition: mixer_core.h:20
int num_mixers
struct mixer_operations ** mixer_devs
case const int
Definition: Callbacks.cpp:52
int(* mixer_ext_init_fn)(int dev)
Definition: mixer_core.h:21
oss_mixer_enuminfo * enum_info
Definition: mixer_core.h:27
mixer_ext_init_fn ext_init_fn
Definition: mixer_core.h:47
oss_mixext ext
Definition: mixer_core.h:25
int(* ioctl)(int dev, int audiodev, unsigned int cmd, ioctl_arg arg)
Definition: mixer_core.h:35
int mixer_ext_set_enum(oss_mixer_enuminfo *ent)
void touch_mixer(int dev)
struct mixer_operations * mixdev_p
Definition: mixer_core.h:53
oss_mixext_desc * extensions
Definition: mixer_core.h:46
const GLcharARB * name
Definition: glext.h:3629
mixer_ext_fn handler
Definition: mixer_core.h:26
int oss_mixer_ext(int orig_dev, unsigned int cmd, ioctl_arg arg)