blob: 8c631fbfe19025b7b42db087d38b71ecb02ce76a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
/*
* Purpose: Common definitions for the ACME Labs Evil Audio driver.
*
* The intial comment usually doesn't contain much information.
*/
/*
* As in the C sources you need to include a placeholder define for the
* copyright notice. To avoid getting multiple define warnings for the COPYING
* macro the header files should use macro name like COPYING2..COPYING9.
*/
/*
*
* This file is part of Open Sound System.
*
* Copyright (C) 4Front Technologies 1996-2008.
*
* This this source file is released under GPL v2 license (no other versions).
* See the COPYING file included in the main directory of this source
* distribution for the license terms and conditions.
*
*/
/*
* Each device instance should have a per-device data structure that contains
* variables common to all sub-devices of the card. By convenntion this
* structure is called devc. Driver designers may use different terminology.
* However use of devc is highly recomended in all OSS drivers because it
* will make maintenance of the code easier.
*/
typedef struct _myossdev_devc_t *myoss_devc_t;
struct _myossdev_devc_t
{
oss_device_t *osdev; /* A handle to the device given by the OSS core. */
oss_mutex_t *mutex; /* A lock/mutex variable for the device */
};
|