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 THIRD_PARTY_SADIE_HRTF_DATABASE_GENERATED_HRTF_ASSETS_H_
18#define THIRD_PARTY_SADIE_HRTF_DATABASE_GENERATED_HRTF_ASSETS_H_
19
20#include <memory>
21#include <string>
22#include <unordered_map>
23#include <vector>
24
25namespace sadie {
26
27// Note this class is automatically generated. Do not modify.
28class HrtfAssets {
29 public:
30 // Lookups and retrieves a file from an asset class.
31 //
32 // @param filename: Filename to be retrieved.
33 // @return std::string with raw file data. In case of an error, a nullptr is
34 // returned. Caller must take over the ownership of the returned data.
35 std::unique_ptr<std::string> GetFile(const std::string& filename) const;
36
37 private:
38 typedef std::unordered_map<std::string, std::vector<unsigned char>>
39 AssetDataMap;
40 static const AssetDataMap kAssetMap;
41};
42
43} // namespace sadie
44
45#endif // THIRD_PARTY_SADIE_HRTF_DATABASE_GENERATED_HRTF_ASSETS_H_
46

source code of qtmultimedia/src/3rdparty/resonance-audio/third_party/SADIE_hrtf_database/generated/hrtf_assets.h