admin
base
com
developer
drivers
apm
ddk
wdmaudio
ac97
ddksynth
dmusuart
fmsynth
gfx
mpu401
msvad
ac3
drmmult
drmsimp
drmsimp.h
makefile
mintopo.cpp
mintopo.h
minwave.cpp
minwave.h
readme.htm
sources
toptable.h
wavtable.h
ds2dhw
multstr
pcmex
simple
adapter.cpp
basedma.cpp
basetopo.cpp
basetopo.h
basewave.cpp
basewave.h
common.cpp
common.h
hw.cpp
hw.h
kshelper.cpp
kshelper.h
msvad.h
msvad.inf
msvad.rc
readme.htm
savedata.cpp
savedata.h
sources.inc
sb16
stdunk
ddk_drivers.ini
ifs_drivers.ini
makefile
makefile.inc
sources
dot4
drivers
filters
ftapi
inc
input
kmpi
ksfilter
net
nlsmsg
parallel
published
sac
serial
smartcrd
sound
storage
tpg
video
watchdog
wdm
wmilib
dirs
project.mk
ds
enduser
inetcore
inetsrv
loc
mergedcomponents
multimedia
net
printscan
public
published
sdktools
shell
termsrv
tools
windows
dirs
makefil0
74 lines
1.7 KiB
C
74 lines
1.7 KiB
C
/*++
|
|
|
|
Copyright (c) 1997-2000 Microsoft Corporation All Rights Reserved
|
|
|
|
Module Name:
|
|
|
|
drmsimp.h
|
|
|
|
Abstract:
|
|
|
|
Node and Pin numbers for simple drm sample.
|
|
|
|
--*/
|
|
|
|
#ifndef _MSVAD_DRMSIMP_H_
|
|
#define _MSVAD_DRMSIMP_H_
|
|
|
|
// Pin properties.
|
|
#define MAX_OUTPUT_STREAMS 1 // Number of capture streams.
|
|
#define MAX_INPUT_STREAMS 1 // Number of render streams.
|
|
#define MAX_TOTAL_STREAMS MAX_OUTPUT_STREAMS + MAX_INPUT_STREAMS
|
|
|
|
// PCM Info
|
|
#define MIN_CHANNELS 1 // Min Channels.
|
|
#define MAX_CHANNELS_PCM 2 // Max Channels.
|
|
#define MIN_BITS_PER_SAMPLE_PCM 8 // Min Bits Per Sample
|
|
#define MAX_BITS_PER_SAMPLE_PCM 16 // Max Bits Per Sample
|
|
#define MIN_SAMPLE_RATE 4000 // Min Sample Rate
|
|
#define MAX_SAMPLE_RATE 64000 // Max Sample Rate
|
|
|
|
// Wave pins
|
|
enum
|
|
{
|
|
KSPIN_WAVE_CAPTURE_SINK = 0,
|
|
KSPIN_WAVE_CAPTURE_SOURCE,
|
|
KSPIN_WAVE_RENDER_SINK,
|
|
KSPIN_WAVE_RENDER_SOURCE
|
|
};
|
|
|
|
// Wave Topology nodes.
|
|
enum
|
|
{
|
|
KSNODE_WAVE_ADC = 0,
|
|
KSNODE_WAVE_DAC
|
|
};
|
|
|
|
// topology pins.
|
|
enum
|
|
{
|
|
KSPIN_TOPO_WAVEOUT_SOURCE = 0,
|
|
KSPIN_TOPO_SYNTHOUT_SOURCE,
|
|
KSPIN_TOPO_SYNTHIN_SOURCE,
|
|
KSPIN_TOPO_MIC_SOURCE,
|
|
KSPIN_TOPO_LINEOUT_DEST,
|
|
KSPIN_TOPO_WAVEIN_DEST
|
|
};
|
|
|
|
// topology nodes.
|
|
enum
|
|
{
|
|
KSNODE_TOPO_WAVEOUT_VOLUME = 0,
|
|
KSNODE_TOPO_WAVEOUT_MUTE,
|
|
KSNODE_TOPO_SYNTHOUT_VOLUME,
|
|
KSNODE_TOPO_SYNTHOUT_MUTE,
|
|
KSNODE_TOPO_MIC_VOLUME,
|
|
KSNODE_TOPO_SYNTHIN_VOLUME,
|
|
KSNODE_TOPO_LINEOUT_MIX,
|
|
KSNODE_TOPO_LINEOUT_VOLUME,
|
|
KSNODE_TOPO_WAVEIN_MUX
|
|
};
|
|
|
|
#endif
|
|
|