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
|
/*++
Copyright (c) Microsoft Corporation All Rights Reserved
Module Name:
endpoints.h
Abstract:
Node and Pin numbers and other common definitions for simple audio sample.
--*/
#ifndef _SIMPLEAUDIOSAMPLE_ENDPOINTS_H_
#define _SIMPLEAUDIOSAMPLE_ENDPOINTS_H_
// Name Guid
// {0104947F-82AE-4291-A6F3-5E2DE1AD7DC2}
#define STATIC_NAME_SIMPLE_AUDIO_SAMPLE\
0x104947f, 0x82ae, 0x4291, 0xa6, 0xf3, 0x5e, 0x2d, 0xe1, 0xad, 0x7d, 0xc2
DEFINE_GUIDSTRUCT("0104947F-82AE-4291-A6F3-5E2DE1AD7DC2", NAME_SIMPLE_AUDIO_SAMPLE);
#define NAME_SIMPLE_AUDIO_SAMPLE DEFINE_GUIDNAMED(NAME_SIMPLE_AUDIO_SAMPLE)
//----------------------------------------------------
// New defines for the render endpoints.
//----------------------------------------------------
// Default pin instances.
#define MAX_INPUT_SYSTEM_STREAMS 1
// Wave pins - no mix, no offload
enum
{
KSPIN_WAVE_RENDER3_SINK_SYSTEM = 0,
KSPIN_WAVE_RENDER3_SOURCE
};
// Wave pins - offloading is NOT supported.
enum
{
KSPIN_WAVE_RENDER2_SINK_SYSTEM = 0,
KSPIN_WAVE_RENDER2_SINK_LOOPBACK,
KSPIN_WAVE_RENDER2_SOURCE
};
// 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 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,
};
// 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
};
// 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 // _SIMPLEAUDIOSAMPLE_ENDPOINTS_H_
|