/* $Id: hpaudio.c,v 5.1 2001/05/12 18:07:26 bertg Exp $ * * XPilot, a multiplayer gravity war game. Copyright (C) 1991-2001 by * * Bjørn Stabell * Ken Ronny Schouten * Bert Gijsbers * Dick Balaska * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* * Audio driver for HP-UX Aserver by Bert Gijsbers . * Note that the Aserver and HP audio system seems to be a misdesign. * At least I'm not able to get XPilot to play sounds on it satisfactorily and * others have reported similar difficulties getting sounds to work on HPs. * If you manage to get it working allright please let me know. * The problem is that sounds are lagging behind all the time. */ #include #include #include #ifndef _WINDOWS # include #endif #include "version.h" char audio_version[] = VERSION; /* * There is an include file included by Alib.h containing * dollar signs in identifiers. Rather than confusing users * by obscure compiler options we hardcode here the only thing * needed from that include file. */ typedef struct { unsigned short data_offset; } *handle_t; #define idl_base #include