1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
|
/*++
Copyright (c) Microsoft Corporation All Rights Reserved
Module Name:
simple.h
Abstract:
Node and Pin numbers and other common definitions for simple sample.
--*/
#ifndef _SYSVAD_SIMPLE_H_
#define _SYSVAD_SIMPLE_H_
// Name Guid
// {946A7B1A-EBBC-422a-A81F-F07C8D40D3B4}
#define STATIC_NAME_SYSVAD_SIMPLE\
0x946a7b1a, 0xebbc, 0x422a, 0xa8, 0x1f, 0xf0, 0x7c, 0x8d, 0x40, 0xd3, 0xb4
DEFINE_GUIDSTRUCT("946A7B1A-EBBC-422a-A81F-F07C8D40D3B4", NAME_SYSVAD_SIMPLE);
#define NAME_SYSVAD_SIMPLE DEFINE_GUIDNAMED(NAME_SYSVAD_SIMPLE)
//----------------------------------------------------
// New defines for the render endpoints.
//----------------------------------------------------
// Default pin instances.
#define MAX_INPUT_SYSTEM_STREAMS 1
#define MAX_INPUT_OFFLOAD_STREAMS 3
#define MAX_OUTPUT_LOOPBACK_STREAMS 1
// Wave pins - offloading supported.
enum
{
KSPIN_WAVE_RENDER_SINK_SYSTEM = 0,
KSPIN_WAVE_RENDER_SINK_OFFLOAD,
KSPIN_WAVE_RENDER_SINK_LOOPBACK,
KSPIN_WAVE_RENDER_SOURCE
};
// Wave pins - no mix, no offload
enum
{
KSPIN_WAVE_RENDER3_SINK_SYSTEM = 0,
KSPIN_WAVE_RENDER3_SOURCE
};
// Wave Topology nodes - offloading supported.
enum
{
KSNODE_WAVE_AUDIO_ENGINE = 0
};
// Wave pins - offloading is NOT supported.
enum
{
KSPIN_WAVE_RENDER2_SINK_SYSTEM = 0,
KSPIN_WAVE_RENDER2_SINK_LOOPBACK,
KSPIN_WAVE_RENDER2_SOURCE
};
// Wave pins - cellular
enum
{
KSPIN_WAVE_BIDI = 0,
KSPIN_WAVE_BIDI_BRIDGE
};
// Wave Topology nodes - offloading is NOT supported.
enum
{
KSNODE_WAVE_SUM = 0,
KSNODE_WAVE_VOLUME,
KSNODE_WAVE_MUTE,
KSNODE_WAVE_PEAKMETER
};
// Topology pins.
enum
{
KSPIN_TOPO_WAVEOUT_SOURCE = 0,
KSPIN_TOPO_LINEOUT_DEST,
};
// Topology pins - cellular
enum
{
KSPIN_TOPO_BIDI1 = 0,
KSPIN_TOPO_BIDI1_BRIDGE,
KSPIN_TOPO_BIDI2,
KSPIN_TOPO_BIDI2_BRIDGE
};
// Topology nodes.
enum
{
KSNODE_TOPO_WAVEOUT_VOLUME = 0,
KSNODE_TOPO_WAVEOUT_MUTE,
KSNODE_TOPO_WAVEOUT_PEAKMETER
};
//----------------------------------------------------
// New defines for the capture endpoints.
//----------------------------------------------------
// Default pin instances.
#define MAX_INPUT_STREAMS 1 // Number of capture streams.
// Wave pins
enum
{
KSPIN_WAVE_BRIDGE = 0,
KSPIN_WAVEIN_HOST,
KSPIN_WAVEIN_KEYWORD,
};
// Wave pins - FM
enum
{
KSPIN_WAVE_FMRX = 0,
KSPIN_WAVE_FMRX_BRIDGE
};
// Wave Topology nodes.
enum
{
KSNODE_WAVE_ADC = 0
};
// Wave Topology nodes.
enum
{
KSNODE_WAVE_DAC = 0
};
// topology pins.
enum
{
KSPIN_TOPO_MIC_ELEMENTS,
KSPIN_TOPO_BRIDGE
};
// topology nodes.
enum
{
KSNODE_TOPO_VOLUME,
KSNODE_TOPO_MUTE,
KSNODE_TOPO_PEAKMETER
};
// Topology pins - FM
enum
{
KSPIN_TOPO_FMRX,
KSPIN_TOPO_FMRX_BRIDGE
};
// data format attribute range definitions.
static
KSATTRIBUTE PinDataRangeSignalProcessingModeAttribute =
{
sizeof(KSATTRIBUTE),
0,
STATICGUIDOF(KSATTRIBUTEID_AUDIOSIGNALPROCESSING_MODE),
};
static
PKSATTRIBUTE PinDataRangeAttributes[] =
{
&PinDataRangeSignalProcessingModeAttribute,
};
static
KSATTRIBUTE_LIST PinDataRangeAttributeList =
{
ARRAYSIZE(PinDataRangeAttributes),
PinDataRangeAttributes,
};
#endif // _SYSVAD_SIMPLE_H_
|