Don't over-allocate the active effect slot array
[openal-soft.git] / core / helpers.h
blob3a987c9d11146446b66710475397dfced6097f41
1 #ifndef CORE_HELPERS_H
2 #define CORE_HELPERS_H
4 #include <string>
5 #include <string_view>
6 #include <vector>
9 struct PathNamePair {
10 std::string path, fname;
12 const PathNamePair &GetProcBinary();
14 /* Mixing thread priority level */
15 inline int RTPrioLevel{1};
17 /* Allow reducing the process's RTTime limit for RTKit. */
18 inline bool AllowRTTimeLimit{true};
20 void SetRTPriority();
22 std::vector<std::string> SearchDataFiles(const std::string_view ext, const std::string_view subdir);
24 #endif /* CORE_HELPERS_H */