xref: /reactos/drivers/multimedia/audio/sound/dsp.h (revision 8a978a17)
1 #define SB_TRUE		0
2 #define SB_FALSE	1
3 
4 #define DSP_MIXER_ADDRESS_PORT	0x04
5 #define DSP_MIXER_DATA_PORT		0x05
6 #define DSP_RESET_PORT 				0x06
7 #define DSP_READ_DATA_PORT 		0x0A
8 #define DSP_WRITE_PORT 				0x0C		//Same port used for reading status and writing data
9 #define DSP_READ_STATUS_PORT 	0x0E
10 
11 typedef unsigned char sb_status;
12 unsigned short base;
13 unsigned char irq,dma8,dma16;
14 unsigned char read_dsp(unsigned short base);
15 void write_dsp(unsigned short base,unsigned char data);
16 sb_status detect_dsp(SB16* sb16);
17 sb_status reset_dsp(unsigned short base_address);
18