#include <portcls.h>
#include <stdunk.h>
Go to the source code of this file.
|
enum | DspRegister {
DspRegCMSD0 = 0x00
, DspRegCMSR0 = 0x01
, DspRegCMSD1 = 0x02
, DspRegCMSR1 = 0x03
,
DspRegMixerReg = 0x04
, DspRegMixerData = 0x05
, DspRegReset = 0x06
, DspRegFMD0 = 0x08
,
DspRegFMR0 = 0x09
, DspRegRead = 0x0a
, DspRegWrite = 0x0c
, DspRegDataAvailable = 0x0e
,
DspRegAck8 = 0x0e
, DspRegAck16 = 0x0f
} |
|
enum | DspCommand {
DspWriteWaveProgrammedIo = 0x10
, DspWriteWave = 0x14
, DspWriteWaveAuto = 0x1c
, DspReadWave = 0x24
,
DspReadWaveAuto = 0x2C
, DspWriteHighSpeedWave = 0x90
, DspReadHighSpeedWave = 0x98
, DspSetSampleRate = 0x40
,
DspSetBlockSize = 0x48
, DspEnableOutput = 0xd1
, DspDisableOutput = 0xd3
, DspOutputStatus = 0xd8
,
DspPauseDma = 0xd0
, DspContinueDma = 0xd4
, DspHaltAutoDma = 0xda
, DspInverter = 0xe0
,
DspGetVersion = 0xe1
, DspGenerateInterrupt = 0xf2
, DspSetDacRate = 0x41
, DspSetAdcRate = 0x42
,
DspStartDac16 = 0xb6
, DspStartAdc16 = 0xbe
, DspStartDac8 = 0xc6
, DspStartAdc8 = 0xc3
,
DspPauseDma16 = 0xd5
, DspContinueDma16 = 0xd6
, DspHaltAutoDma16 = 0xd9
} |
|
enum | DspMixerRegister {
DspMixMasterVolumeLeft = 0x00
, DspMixMasterVolumeRight = 0x01
, DspMixVoiceVolumeLeft = 0x02
, DspMixVoiceVolumeRight = 0x03
,
DspMixIrqConfig = 0x80
, DspMixDmaConfig = 0x81
} |
|
|
| DEFINE_GUID (IID_IWaveMiniportSB16, 0xbe23b2d7, 0xa760, 0x43ab, 0xb7, 0x6e, 0xbc, 0x3e, 0x93, 0xe6, 0xff, 0x54) |
|
| DECLARE_INTERFACE_ (IWaveMiniportSB16, IUnknown) |
|
| DEFINE_GUID (IID_IAdapterSB16, 0xfba9052c, 0x0544, 0x4bc4, 0x97, 0x3f, 0x70, 0xb7, 0x06, 0x46, 0x81, 0xe5) |
|
| DECLARE_INTERFACE_ (IAdapterSB16, IUnknown) |
|
◆ MAX_DMA_BUFFER_SIZE
#define MAX_DMA_BUFFER_SIZE 65536 |
◆ MPU401_INPUT_READY
#define MPU401_INPUT_READY 0x80 |
◆ MPU401_OUTPUT_READY
#define MPU401_OUTPUT_READY 0x40 |
◆ MPU401_RESET
◆ MPU401_UART_MODE
◆ PADAPTERSB16
◆ PWAVEMINIPORTSB16
◆ DspCommand
Enumerator |
---|
DspWriteWaveProgrammedIo | |
DspWriteWave | |
DspWriteWaveAuto | |
DspReadWave | |
DspReadWaveAuto | |
DspWriteHighSpeedWave | |
DspReadHighSpeedWave | |
DspSetSampleRate | |
DspSetBlockSize | |
DspEnableOutput | |
DspDisableOutput | |
DspOutputStatus | |
DspPauseDma | |
DspContinueDma | |
DspHaltAutoDma | |
DspInverter | |
DspGetVersion | |
DspGenerateInterrupt | |
DspSetDacRate | |
DspSetAdcRate | |
DspStartDac16 | |
DspStartAdc16 | |
DspStartDac8 | |
DspStartAdc8 | |
DspPauseDma16 | |
DspContinueDma16 | |
DspHaltAutoDma16 | |
Definition at line 39 of file sb16.h.
40{
59
60
70};
@ DspWriteWaveProgrammedIo
◆ DspMixerRegister
Enumerator |
---|
DspMixMasterVolumeLeft | |
DspMixMasterVolumeRight | |
DspMixVoiceVolumeLeft | |
DspMixVoiceVolumeRight | |
DspMixIrqConfig | |
DspMixDmaConfig | |
Definition at line 72 of file sb16.h.
73{
78
81};
@ DspMixMasterVolumeRight
◆ DspRegister
Enumerator |
---|
DspRegCMSD0 | |
DspRegCMSR0 | |
DspRegCMSD1 | |
DspRegCMSR1 | |
DspRegMixerReg | |
DspRegMixerData | |
DspRegReset | |
DspRegFMD0 | |
DspRegFMR0 | |
DspRegRead | |
DspRegWrite | |
DspRegDataAvailable | |
DspRegAck8 | |
DspRegAck16 | |
Definition at line 20 of file sb16.h.
◆ DECLARE_INTERFACE_() [1/2]
DECLARE_INTERFACE_ |
( |
IAdapterSB16 |
, |
|
|
IUnknown |
|
|
) |
| |
Definition at line 107 of file sb16.h.
108{
110
114
116
119
121
124
126
130
133
135
136
137};
SetWaveMiniport(IN PWAVEMINIPORTSB16 Miniport)
#define DEFINE_ABSTRACT_UNKNOWN()
IInterruptSync * PINTERRUPTSYNC
IResourceList * PRESOURCELIST
static BOOL Write(PBYTE Address, PBYTE Data, SIZE_T Size)
_In_ WDFCOLLECTION _In_ ULONG Index
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIORESLIST * ResourceList
IWaveMiniportSB16 * PWAVEMINIPORTSB16
◆ DECLARE_INTERFACE_() [2/2]
DECLARE_INTERFACE_ |
( |
IWaveMiniportSB16 |
, |
|
|
IUnknown |
|
|
) |
| |
◆ DEFINE_GUID() [1/2]
DEFINE_GUID |
( |
IID_IAdapterSB16 |
, |
|
|
0xfba9052c |
, |
|
|
0x0544 |
, |
|
|
0x4bc4 |
, |
|
|
0x97 |
, |
|
|
0x3f |
, |
|
|
0x70 |
, |
|
|
0xb7 |
, |
|
|
0x06 |
, |
|
|
0x46 |
, |
|
|
0x81 |
, |
|
|
0xe5 |
|
|
) |
| |
◆ DEFINE_GUID() [2/2]
DEFINE_GUID |
( |
IID_IWaveMiniportSB16 |
, |
|
|
0xbe23b2d7 |
, |
|
|
0xa760 |
, |
|
|
0x43ab |
, |
|
|
0xb7 |
, |
|
|
0x6e |
, |
|
|
0xbc |
, |
|
|
0x3e |
, |
|
|
0x93 |
, |
|
|
0xe6 |
, |
|
|
0xff |
, |
|
|
0x54 |
|
|
) |
| |