0ad/source/lib/sysdep/snd.h
janwas 871cdb6ef9 # SwEng (reduce full recompiles by splitting up master error header)
- error codes now accessed as ERR::NO_MEM, INFO::OK etc.
- no more X-macros => the above are now recognized by visual assist
- error codes are defined by the module originating them (lib_errors has
some generic ones)
  => no full rebuild when adding some
- error descriptions are now in C++ files => can be changed without full
rebuild

added AT_STARTUP in lib.h.

This was SVN commit r4374.
2006-09-22 13:19:40 +00:00

44 lines
1.1 KiB
C

/**
* =========================================================================
* File : snd.h
* Project : 0 A.D.
* Description : sound card detection.
*
* @author Jan.Wassenberg@stud.uni-karlsruhe.de
* =========================================================================
*/
/*
* Copyright (c) 2003-2005 Jan Wassenberg
*
* Redistribution and/or modification are also permitted under the
* terms of the GNU General Public License as published by the
* Free Software Foundation (version 2 or later, at your option).
*
* 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.
*/
#ifndef SND_H__
#define SND_H__
const size_t SND_CARD_LEN = 128;
/**
* description of sound card.
**/
extern char snd_card[SND_CARD_LEN];
const size_t SND_DRV_VER_LEN = 256;
/**
* sound driver identification and version.
**/
extern char snd_drv_ver[SND_DRV_VER_LEN];
/**
* detect sound card and set the above information.
**/
extern void snd_detect(void);
#endif // #ifndef SND_H__