install: add install sources and resources
[doom2d-restoration.git] / LIBS / OSNDDRV.H
blob38f3ca0cf566371ec3714649b78cf14525f68b1e
1 /*
2   Звуковые драйвера для DOS4GW
3   Версия 1.0
4   (C) Алексей Волынсков, 1996
5 */
7 #pragma library("osnddrv.lib")
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
13 // номера драйверов
14 enum{
15   SDRV_NONE=0,          // тишина...
16   SDRV_ADLIB,           // Adlib: 6 бит
17   SDRV_COVOX,           // Covox Speech Thing: 8 бит
18                         // snd_port = номер LPT(1-4)
19   SDRV_PC1,             // PC Speaker: 1 бит
20   SDRV_PC8,             // PC Speaker: вроде как 8 бит (или 7)
21   SDRV_SB,              // Sound Blaster: 8 бит, DMA
22                         // snd_port = базовый порт (обычно 0x220)
23                         // snd_iqr = номер IRQ (обычно 7 или 5)
24                         // sorry, DMA пока только 1
25 //  SDRV_SBNODMA,               // Sound Blaster: 8 бит, без DMA (медленнее)
26   SDRV_SB16,            // Sound Blaster 16/AWE32: 16 бит, DMA
27   SDRV__END
30 // адреса драйверов
31 extern void *snd_drv_tab[];
33 #ifdef __cplusplus
35 #endif