Alexandre Julliard | 0799c1a | 2002-03-09 23:29:33 +0000 | [diff] [blame] | 1 | /* |
Alexandre Julliard | a92e397 | 2002-03-22 19:20:11 +0000 | [diff] [blame] | 2 | * Copyright (C) 2002 Alexandre Julliard |
Alexandre Julliard | 0799c1a | 2002-03-09 23:29:33 +0000 | [diff] [blame] | 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 17 | */ |
| 18 | |
Alexandre Julliard | a92e397 | 2002-03-22 19:20:11 +0000 | [diff] [blame] | 19 | #ifndef __AUDEVCOD__ |
| 20 | #define __AUDEVCOD__ |
Hidenori Takeshima | 64fa141 | 2001-08-15 17:38:28 +0000 | [diff] [blame] | 21 | |
Alexandre Julliard | a92e397 | 2002-03-22 19:20:11 +0000 | [diff] [blame] | 22 | typedef enum _tagSND_DEVICE_ERROR |
Hidenori Takeshima | 64fa141 | 2001-08-15 17:38:28 +0000 | [diff] [blame] | 23 | { |
Alexandre Julliard | a92e397 | 2002-03-22 19:20:11 +0000 | [diff] [blame] | 24 | SNDDEV_ERROR_Open=1, |
| 25 | SNDDEV_ERROR_Close=2, |
| 26 | SNDDEV_ERROR_GetCaps=3, |
| 27 | SNDDEV_ERROR_PrepareHeader=4, |
| 28 | SNDDEV_ERROR_UnprepareHeader=5, |
| 29 | SNDDEV_ERROR_Reset=6, |
| 30 | SNDDEV_ERROR_Restart=7, |
| 31 | SNDDEV_ERROR_GetPosition=8, |
| 32 | SNDDEV_ERROR_Write=9, |
| 33 | SNDDEV_ERROR_Pause=10, |
| 34 | SNDDEV_ERROR_Stop=11, |
| 35 | SNDDEV_ERROR_Start=12, |
| 36 | SNDDEV_ERROR_AddBuffer=13, |
| 37 | SNDDEV_ERROR_Query=14 |
Hidenori Takeshima | 64fa141 | 2001-08-15 17:38:28 +0000 | [diff] [blame] | 38 | } SNDDEV_ERR; |
| 39 | |
Alexandre Julliard | a92e397 | 2002-03-22 19:20:11 +0000 | [diff] [blame] | 40 | #define EC_SND_DEVICE_ERROR_BASE 0x0200 |
| 41 | #define EC_SNDDEV_IN_ERROR (EC_SND_DEVICE_ERROR_BASE+0x00) |
| 42 | #define EC_SNDDEV_OUT_ERROR (EC_SND_DEVICE_ERROR_BASE+0x01) |
Hidenori Takeshima | 64fa141 | 2001-08-15 17:38:28 +0000 | [diff] [blame] | 43 | |
Alexandre Julliard | a92e397 | 2002-03-22 19:20:11 +0000 | [diff] [blame] | 44 | #endif /* __AUDEVCOD__ */ |