/* * audio_alsa09.h alsa lowlevel acess * * Copyright (C) 1997-1998 Masaki Chikama (Wren) * 1998- * rewrited 1999- Fumihiko Murata * * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ /* $Id: audio_alsa09.h,v 1.4 2002/09/04 13:20:13 chikama Exp $ */ #ifndef __AUDIO_ALSA__ #define __AUDIO_ALSA__ #include typedef struct { snd_pcm_t *handle; snd_async_handler_t *async_handler; char *dev; boolean automixer; // 自動的に pcmdevice に接続されている mixer を探すか? int silence; int frag,frags; struct { int mix_dev; } mixer; int mm_flag; char *mm_data; } audio_alsa09_t; typedef struct { int card; int mix_dev; int connect[MIX_NRDEVICES]; } mixer_alsa09_t; #endif /* __AUDIO_ALSA__ */