Drop the HRTF source and cache options
The kernel renders the Rosella .personalized_headphone model or an already compiled .jochrtf field, and only the first is a user-facing input: the SOFA reader and its compile cache left the library. joc-hrtf-source, joc-hrtf-cache and joc-hrtf-cache-dir go with them, and the default file is now binaural.personalized_headphone only. The plugin sets personalized_headphone_path directly, and the disk-cache retry path disappears with the cache itself. The headers in third_party/joc/include and fork/files/audio/decode follow the new kernel, so the config structs no longer carry hrtf_sofa_path, hrtf_cache_policy, hrtf_cache_dir or hrtf_radius_m, and the rosella filterbank no longer needs its SOFA exception. The example config and the option tables in both READMEs drop the removed keys. Builds against the kernel with tools/build.ps1 -JocCoreSource.
This commit is contained in:
1 parent
0b94c75fd6
commit
19b4a49407
12 files changed
+25
-160
No files matched your search
@@ -11,10 +11,7 @@ struct Config {
|
||||
// 0 = binaural (2 channels), 1 = speaker layout (N channels).
|
||||
int output = 0;
|
||||
std::string layout = "7.1";
|
||||
// 0 = SOFA, 1 = Rosella personalized headphone model.
|
||||
int hrtf_source = 0;
|
||||
// Rosella filterbank: 0 = the renderer's default (public bank), 2 = captured.
|
||||
// Only the Rosella input reads it; the SOFA and .jochrtf paths ignore it.
|
||||
int rosella_filterbank = 0;
|
||||
std::string hrtf_file; // empty: <plugin dir>\\HRTF\\binaural.<ext>
|
||||
// 1 = near, 2 = far, 3 = mid (the renderer's own default).
|
||||
@@ -37,10 +34,6 @@ struct Config {
|
||||
// the opening moments are not the plain bed. Only candidate inputs are
|
||||
// muted, and only for as long as the probe takes.
|
||||
bool mute_until_ready = true;
|
||||
// SOFA compilation cache: auto (disk under the mpv config directory, memory
|
||||
// if that is unavailable), memory, disk, none.
|
||||
std::string hrtf_cache = "auto";
|
||||
std::string hrtf_cache_dir;
|
||||
// Log file path; empty means <mpv config dir>\joc_decoder.log.
|
||||
std::string log_path;
|
||||
// Samples requested per HTTP response, in seconds of audio. A bounded
|
||||
|
||||
Reference in new issue
Block a user