forked from 0ad/0ad
janwas
34637ba5dc
- split up detect.cpp into snd, cpu, gfx (headers were already split) - rename detect functions for more clarity (e.g. get_cur_vmode -> gfx_get_video_mode) - rename lib/res/sound/snd to snd_mgr to avoid conflict with sysdep/snd.cpp - waio: set errno in aio_rw (addresses bug #73) This was SVN commit r3745.
23 lines
383 B
C
23 lines
383 B
C
#ifndef SND_H__
|
|
#define SND_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
const size_t SND_CARD_LEN = 128;
|
|
extern char snd_card[SND_CARD_LEN];
|
|
|
|
const size_t SND_DRV_VER_LEN = 256;
|
|
extern char snd_drv_ver[SND_DRV_VER_LEN];
|
|
|
|
// detect sound card and set the above information.
|
|
extern void snd_detect(void);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // #ifndef SND_H__
|