57 *PackedLevel =
Level << 3;
69 *PackedLevel =
Level << 6;
86 *PackedLevel =
Level << 4;
118 *
Level = PackedLevel >> 3;
127 *
Level = PackedLevel >> 6;
141 *
Level = PackedLevel >> 4;
156 UCHAR PackedLevel = 0;
176 DbgPrint(
"SbMixerSetLevel: Line 0x%x, raw level 0x%x, packed 0x%x\n",
Line,
Level, PackedLevel);
190 UCHAR PackedLevel = 0;
216 DbgPrint(
"SbMixerGetLevel: Line 0x%x, raw level 0x%x, packed 0x%x\n",
Line,
Level, PackedLevel);
#define STATUS_INVALID_PARAMETER_2
#define STATUS_INVALID_PARAMETER_1
#define STATUS_INVALID_PARAMETER_3
#define SB_MIX_LINE_LEVEL
#define WRITE_SB_MIXER_DATA(bp, x)
#define SB_MIX_CD_RIGHT_LEVEL
#define SB_MIX_MIDI_LEFT_LEVEL
#define WRITE_SB_MIXER_REGISTER(bp, x)
#define SB_MIX_INPUT_LEFT_GAIN
#define SB_MIX_BASS_RIGHT_LEVEL
#define SB_MIX_MASTER_LEFT_LEVEL
#define SB_MIX_INPUT_RIGHT_GAIN
#define SB_MIX_MASTER_LEVEL
#define SB_MIX_VOC_LEFT_LEVEL
#define SB_MIX_BASS_LEFT_LEVEL
#define SB_MIX_LINE_RIGHT_LEVEL
#define SB_MIX_MASTER_RIGHT_LEVEL
#define SB_MIX_LEGACY_MIC_LEVEL
#define SB_MIX_OUTPUT_LEFT_GAIN
#define READ_SB_MIXER_DATA(bp)
#define SB_MIX_TREBLE_LEFT_LEVEL
#define SB_MIX_OUTPUT_RIGHT_GAIN
#define SB_MIX_TREBLE_RIGHT_LEVEL
#define SB_MIX_VOC_RIGHT_LEVEL
#define SB_MIX_LINE_LEFT_LEVEL
#define SB_MIX_CD_LEFT_LEVEL
#define SB_MIX_MIDI_RIGHT_LEVEL
BOOLEAN SbMixerIsAGCEnabled(IN PUCHAR BasePort)
NTSTATUS SbMixerUnpackLevelData(IN UCHAR Line, IN UCHAR PackedLevel, OUT PUCHAR Level)
VOID SbMixerEnableAGC(IN PUCHAR BasePort)
NTSTATUS SbMixerSetLevel(IN PUCHAR BasePort, IN UCHAR Line, IN UCHAR Level)
NTSTATUS SbMixerPackLevelData(IN UCHAR Line, IN UCHAR Level, OUT PUCHAR PackedLevel)
VOID SbMixerReset(IN PUCHAR BasePort)
NTSTATUS SbMixerGetLevel(IN PUCHAR BasePort, IN UCHAR Line, OUT PUCHAR Level)
VOID SbMixerDisableAGC(IN PUCHAR BasePort)
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level