ReactOS 0.4.15-dev-5666-gc548b97
dsp.h
Go to the documentation of this file.
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
11typedef unsigned char sb_status;
12unsigned short base;
13unsigned char irq,dma8,dma16;
14unsigned char read_dsp(unsigned short base);
15void write_dsp(unsigned short base,unsigned char data);
17sb_status reset_dsp(unsigned short base_address);
SB16 sb16
Definition: sound.c:26
unsigned char dma8
Definition: dsp.h:13
unsigned char dma16
Definition: dsp.h:13
unsigned char sb_status
Definition: dsp.h:11
unsigned char irq
Definition: dsp.h:13
unsigned short base
Definition: dsp.h:12
void write_dsp(unsigned short base, unsigned char data)
Definition: dsp.c:73
unsigned char read_dsp(unsigned short base)
Definition: dsp.c:24
sb_status reset_dsp(unsigned short base_address)
Definition: dsp.c:56
sb_status detect_dsp(SB16 *sb16)
Definition: dsp.c:38
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
Definition: sb16.h:2