|
#define | SOUND_BLASTER_1_0 L"Sound Blaster 1.0" |
|
#define | SOUND_BLASTER_1_5 L"Sound Blaster 1.5" |
|
#define | SOUND_BLASTER_2_0 L"Sound Blaster 2.0" |
|
#define | SOUND_BLASTER_PRO L"Sound Blaster Pro" |
|
#define | SOUND_BLASTER_16 L"Sound Blaster 16" |
|
#define | READ_SB_FM1_STATUS(bp) READ_PORT_UCHAR((PUCHAR) bp) |
|
#define | WRITE_SB_FM1_REGISTER(bp, x) WRITE_PORT_UCHAR((PUCHAR) bp, x) |
|
#define | WRITE_SB_FM1_DATA(bp, x) WRITE_PORT_UCHAR((PUCHAR) bp+0x01, x) |
|
#define | READ_SB_AFM_STATUS(bp) READ_PORT_UCHAR((PUCHAR) bp+0x02) |
|
#define | WRITE_SB_AFM_REGISTER(bp, x) WRITE_PORT_UCHAR((PUCHAR) bp+0x02, x) |
|
#define | WRITE_SB_AFM_DATA(bp, x) WRITE_PORT_UCHAR((PUCHAR) bp+0x03, x) |
|
#define | WRITE_SB_MIXER_REGISTER(bp, x) WRITE_PORT_UCHAR((PUCHAR) bp+0x04, x) |
|
#define | READ_SB_MIXER_DATA(bp) READ_PORT_UCHAR((PUCHAR) bp+0x05) |
|
#define | WRITE_SB_MIXER_DATA(bp, x) WRITE_PORT_UCHAR((PUCHAR) bp+0x05, x) |
|
#define | WRITE_SB_DSP_RESET(bp, x) WRITE_PORT_UCHAR((PUCHAR) bp+0x06, x) |
|
#define | READ_SB_FM2_STATUS(bp) READ_PORT_UCHAR((PUCHAR) bp+0x08) |
|
#define | WRITE_SB_FM2_REGISTER(bp, x) WRITE_PORT_UCHAR((PUCHAR) bp+0x08, x) |
|
#define | WRITE_SB_FM2_DATA(bp, x) WRITE_PORT_UCHAR((PUCHAR) bp+0x09, x) |
|
#define | READ_SB_DSP_DATA(bp) READ_PORT_UCHAR((PUCHAR) bp+0x0A) |
|
#define | WRITE_SB_DSP_DATA(bp, x) WRITE_PORT_UCHAR((PUCHAR) bp+0x0C, x) |
|
#define | WRITE_SB_DSP_COMMAND(bp, x) WRITE_PORT_UCHAR((PUCHAR) bp+0x0C, x) |
|
#define | SB_DSP_CLEAR_TO_SEND(bp) ( ! (READ_PORT_UCHAR((PUCHAR) bp+0x0C) & 0x80 ) ) |
|
#define | SB_DSP_DATA_AVAILABLE(bp) ( READ_PORT_UCHAR((PUCHAR) bp+0x0E) & 0x80 ) |
|
#define | SB_DSP_READY 0xAA |
|
#define | SB_DSP_OUTPUT_RATE 0x41 |
|
#define | SB_DSP_INPUT_RATE 0x42 |
|
#define | SB_DSP_BLOCK_SIZE 0x48 |
|
#define | SB_DSP_SPEAKER_ON 0xD1 |
|
#define | SB_DSP_SPEAKER_OFF 0xD3 |
|
#define | SB_DSP_SPEAKER_STATUS 0xD8 |
|
#define | SB_DSP_VERSION 0xE1 |
|
#define | SB_MIX_VOC_LEVEL 0x04 |
|
#define | SB_MIX_LEGACY_MIC_LEVEL 0x0A |
|
#define | SB_MIX_MASTER_LEVEL 0x22 |
|
#define | SB_MIX_FM_LEVEL 0x26 |
|
#define | SB_MIX_CD_LEVEL 0x28 |
|
#define | SB_MIX_LINE_LEVEL 0x2E |
|
#define | SB_MIX_RESET 0x00 |
|
#define | SB_MIX_MASTER_LEFT_LEVEL 0x30 |
|
#define | SB_MIX_MASTER_RIGHT_LEVEL 0x31 |
|
#define | SB_MIX_VOC_LEFT_LEVEL 0x32 |
|
#define | SB_MIX_VOC_RIGHT_LEVEL 0x33 |
|
#define | SB_MIX_MIDI_LEFT_LEVEL 0x34 |
|
#define | SB_MIX_MIDI_RIGHT_LEVEL 0x35 |
|
#define | SB_MIX_CD_LEFT_LEVEL 0x36 |
|
#define | SB_MIX_CD_RIGHT_LEVEL 0x37 |
|
#define | SB_MIX_LINE_LEFT_LEVEL 0x38 |
|
#define | SB_MIX_LINE_RIGHT_LEVEL 0x39 |
|
#define | SB_MIX_MIC_LEVEL 0x3A |
|
#define | SB_MIX_PC_SPEAKER_LEVEL 0x3B |
|
#define | SB_MIX_OUTPUT_SWITCHES 0x3C |
|
#define | SB_MIX_INPUT_LEFT_SWITCHES 0x3D |
|
#define | SB_MIX_INPUT_RIGHT_SWITCHES 0x3E |
|
#define | SB_MIX_INPUT_LEFT_GAIN 0x3F |
|
#define | SB_MIX_INPUT_RIGHT_GAIN 0x40 |
|
#define | SB_MIX_OUTPUT_LEFT_GAIN 0x41 |
|
#define | SB_MIX_OUTPUT_RIGHT_GAIN 0x42 |
|
#define | SB_MIX_AGC 0x43 |
|
#define | SB_MIX_TREBLE_LEFT_LEVEL 0x44 |
|
#define | SB_MIX_TREBLE_RIGHT_LEVEL 0x45 |
|
#define | SB_MIX_BASS_LEFT_LEVEL 0x46 |
|
#define | SB_MIX_BASS_RIGHT_LEVEL 0x47 |
|
#define | SB_MIX_MIDI_LEFT_SWITCH 0x01 |
|
#define | SB_MIX_MIDI_RIGHT_SWITCH 0x02 |
|
#define | SB_MIX_LINE_LEFT_SWITCH 0x04 |
|
#define | SB_MIX_LINE_RIGHT_SWITCH 0x08 |
|
#define | SB_MIX_CD_LEFT_SWITCH 0x10 |
|
#define | SB_MIX_CD_RIGHT_SWITCH 0x20 |
|
#define | SB_MIX_MIC_SWITCH 0x40 |
|
|
NTSTATUS | SbDspReset (IN PUCHAR BasePort, IN ULONG Timeout) |
|
NTSTATUS | SbDspWaitToWrite (IN PUCHAR BasePort, IN ULONG Timeout) |
|
NTSTATUS | SbDspWaitToRead (IN PUCHAR BasePort, IN ULONG Timeout) |
|
NTSTATUS | SbDspWrite (IN PUCHAR BasePort, IN UCHAR DataByte, IN ULONG Timeout) |
|
NTSTATUS | SbDspRead (IN PUCHAR BasePort, OUT PUCHAR DataByte, IN ULONG Timeout) |
|
NTSTATUS | SbDspGetVersion (IN PUCHAR BasePort, OUT PUCHAR MajorVersion, OUT PUCHAR MinorVersion, IN ULONG Timeout) |
|
NTSTATUS | SbDspEnableSpeaker (IN PUCHAR BasePort, IN ULONG Timeout) |
|
NTSTATUS | SbDspDisableSpeaker (IN PUCHAR BasePort, IN ULONG Timeout) |
|
NTSTATUS | SbDspIsSpeakerEnabled (IN PUCHAR BasePort, OUT PBOOLEAN IsEnabled, IN ULONG Timeout) |
|
BOOLEAN | SbDspIsValidInputRate (IN UCHAR MajorVersion, IN UCHAR MinorVersion, IN USHORT Rate, IN BOOLEAN Stereo) |
|
BOOLEAN | SbDspIsValidOutputRate (IN UCHAR MajorVersion, IN UCHAR MinorVersion, IN USHORT Rate, IN BOOLEAN Stereo) |
|
NTSTATUS | SbDsp4SetOutputRate (IN PUCHAR BasePort, IN USHORT Rate, IN ULONG Timeout) |
|
NTSTATUS | SbDsp4SetInputRate (IN PUCHAR BasePort, IN USHORT Rate, IN ULONG Timeout) |
|
VOID | SbMixerReset (IN PUCHAR BasePort) |
|
NTSTATUS | SbMixerPackLevelData (IN UCHAR Line, IN UCHAR Level, OUT PUCHAR PackedLevel) |
|
NTSTATUS | SbMixerUnpackLevelData (IN UCHAR Line, IN UCHAR PackedLevel, OUT PUCHAR Level) |
|
NTSTATUS | SbMixerSetLevel (IN PUCHAR BasePort, IN UCHAR Line, IN UCHAR Level) |
|
NTSTATUS | SbMixerGetLevel (IN PUCHAR BasePort, IN UCHAR Line, OUT PUCHAR Level) |
|
VOID | SbMixerEnableAGC (IN PUCHAR BasePort) |
|
VOID | SbMixerDisableAGC (IN PUCHAR BasePort) |
|
BOOLEAN | SbMixerIsAGCEnabled (IN PUCHAR BasePort) |
|