-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsimple.h
76 lines (62 loc) · 2 KB
/
simple.h
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
/*++
Copyright (c) 1997-2000 Microsoft Corporation All Rights Reserved
Module Name:
simple.h
Abstract:
Node and Pin numbers for simple sample.
--*/
#ifndef _MSVAD_SIMPLE_H_
#define _MSVAD_SIMPLE_H_
// Name Guid
// {946A7B1A-EBBC-422a-A81F-F07C8D40D3B4}
#define STATIC_NAME_MSVAD_SIMPLE 0x946a7b1a, 0xebbc, 0x422a, 0xa8, 0x1f, 0xf0, 0x7c, 0x8d, 0x40, 0xd3, 0xb4
DEFINE_GUIDSTRUCT("946A7B1A-EBBC-422a-A81F-F07C8D40D3B4", NAME_MSVAD_SIMPLE);
#define NAME_MSVAD_SIMPLE DEFINE_GUIDNAMED(NAME_MSVAD_SIMPLE)
// Pin properties.
#define MAX_OUTPUT_STREAMS 0 // 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,
KSNODE_TOPO_DEV_SPECIFIC_BOOL, //9
KSNODE_TOPO_DEV_SPECIFIC_INT, //10
KSNODE_TOPO_DEV_SPECIFIC_UINT //11
};
#endif