1/*
2Copyright 2018 Google Inc. All Rights Reserved.
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS-IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations 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
24namespace vraudio {
25
26// Configuration of a source and the nodes it is instantiating.
27struct 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_
44

source code of qtmultimedia/src/3rdparty/resonance-audio/resonance_audio/graph/source_graph_config.h