1 | /*
|
---|
2 | * Copyright (C) 2002 Alexandre Julliard
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef __AUDEVCOD__
|
---|
29 | #define __AUDEVCOD__
|
---|
30 |
|
---|
31 | typedef enum _tagSND_DEVICE_ERROR
|
---|
32 | {
|
---|
33 | SNDDEV_ERROR_Open=1,
|
---|
34 | SNDDEV_ERROR_Close=2,
|
---|
35 | SNDDEV_ERROR_GetCaps=3,
|
---|
36 | SNDDEV_ERROR_PrepareHeader=4,
|
---|
37 | SNDDEV_ERROR_UnprepareHeader=5,
|
---|
38 | SNDDEV_ERROR_Reset=6,
|
---|
39 | SNDDEV_ERROR_Restart=7,
|
---|
40 | SNDDEV_ERROR_GetPosition=8,
|
---|
41 | SNDDEV_ERROR_Write=9,
|
---|
42 | SNDDEV_ERROR_Pause=10,
|
---|
43 | SNDDEV_ERROR_Stop=11,
|
---|
44 | SNDDEV_ERROR_Start=12,
|
---|
45 | SNDDEV_ERROR_AddBuffer=13,
|
---|
46 | SNDDEV_ERROR_Query=14
|
---|
47 | } SNDDEV_ERR;
|
---|
48 |
|
---|
49 | #define EC_SND_DEVICE_ERROR_BASE 0x0200
|
---|
50 | #define EC_SNDDEV_IN_ERROR (EC_SND_DEVICE_ERROR_BASE+0x00)
|
---|
51 | #define EC_SNDDEV_OUT_ERROR (EC_SND_DEVICE_ERROR_BASE+0x01)
|
---|
52 |
|
---|
53 | #endif /* __AUDEVCOD__ */
|
---|