RavEngine
Loading...
Searching...
No Matches
source_graph_config.h
1
/*
2
Copyright 2018 Google Inc. All Rights Reserved.
3
4
Licensed under the Apache License, Version 2.0 (the "License");
5
you may not use this file except in compliance with the License.
6
You may obtain a copy of the License at
7
8
http://www.apache.org/licenses/LICENSE-2.0
9
10
Unless required by applicable law or agreed to in writing, software
11
distributed under the License is distributed on an "AS-IS" BASIS,
12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
See the License for the specific language governing permissions and
14
limitations under the License.
15
*/
16
17
#ifndef RESONANCE_AUDIO_GRAPH_SOURCE_GRAPH_CONFIG_H_
18
#define RESONANCE_AUDIO_GRAPH_SOURCE_GRAPH_CONFIG_H_
19
20
#include <string>
21
#include <utility>
22
#include <vector>
23
24
namespace
vraudio {
25
26
// Configuration of a source and the nodes it is instantiating.
27
struct
SourceGraphConfig
{
28
// Configuration name.
29
std::string configuration_name;
30
31
// Ambisonic order to encode to/decode from source.
32
int
ambisonic_order = 1;
33
34
// Flag to enable HRTF-based rendering of source.
35
bool
enable_hrtf =
true
;
36
37
// Flag to enable direct rendering of source.
38
bool
enable_direct_rendering =
true
;
39
};
40
41
}
// namespace vraudio
42
43
#endif
// RESONANCE_AUDIO_GRAPH_SOURCE_GRAPH_CONFIG_H_
vraudio::SourceGraphConfig
Definition
source_graph_config.h:27
RavEngine
deps
resonance-audio
resonance_audio
graph
source_graph_config.h
Generated by
1.9.8