audevcod.h revision af062818b47340eef15700d2f0211576ba3506ee
af062818b47340eef15700d2f0211576ba3506eevboxsync/*
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright (C) 2002 Alexandre Julliard
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is free software; you can redistribute it and/or
af062818b47340eef15700d2f0211576ba3506eevboxsync * modify it under the terms of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License as published by the Free Software Foundation; either
af062818b47340eef15700d2f0211576ba3506eevboxsync * version 2.1 of the License, or (at your option) any later version.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is distributed in the hope that it will be useful,
af062818b47340eef15700d2f0211576ba3506eevboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
af062818b47340eef15700d2f0211576ba3506eevboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync * Lesser General Public License for more details.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * You should have received a copy of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License along with this library; if not, write to the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
af062818b47340eef15700d2f0211576ba3506eevboxsync */
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync#ifndef __AUDEVCOD__
af062818b47340eef15700d2f0211576ba3506eevboxsync#define __AUDEVCOD__
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef enum _tagSND_DEVICE_ERROR
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync SNDDEV_ERROR_Open=1,
af062818b47340eef15700d2f0211576ba3506eevboxsync SNDDEV_ERROR_Close=2,
af062818b47340eef15700d2f0211576ba3506eevboxsync SNDDEV_ERROR_GetCaps=3,
af062818b47340eef15700d2f0211576ba3506eevboxsync SNDDEV_ERROR_PrepareHeader=4,
af062818b47340eef15700d2f0211576ba3506eevboxsync SNDDEV_ERROR_UnprepareHeader=5,
af062818b47340eef15700d2f0211576ba3506eevboxsync SNDDEV_ERROR_Reset=6,
af062818b47340eef15700d2f0211576ba3506eevboxsync SNDDEV_ERROR_Restart=7,
af062818b47340eef15700d2f0211576ba3506eevboxsync SNDDEV_ERROR_GetPosition=8,
af062818b47340eef15700d2f0211576ba3506eevboxsync SNDDEV_ERROR_Write=9,
af062818b47340eef15700d2f0211576ba3506eevboxsync SNDDEV_ERROR_Pause=10,
af062818b47340eef15700d2f0211576ba3506eevboxsync SNDDEV_ERROR_Stop=11,
af062818b47340eef15700d2f0211576ba3506eevboxsync SNDDEV_ERROR_Start=12,
af062818b47340eef15700d2f0211576ba3506eevboxsync SNDDEV_ERROR_AddBuffer=13,
af062818b47340eef15700d2f0211576ba3506eevboxsync SNDDEV_ERROR_Query=14
af062818b47340eef15700d2f0211576ba3506eevboxsync} SNDDEV_ERR;
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync#define EC_SND_DEVICE_ERROR_BASE 0x0200
af062818b47340eef15700d2f0211576ba3506eevboxsync#define EC_SNDDEV_IN_ERROR (EC_SND_DEVICE_ERROR_BASE+0x00)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define EC_SNDDEV_OUT_ERROR (EC_SND_DEVICE_ERROR_BASE+0x01)
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* __AUDEVCOD__ */