Sync the kernel copy with the HRTF bed position fixes
build / windows (push) Canceled after 0s
build / release (push) Canceled after 0s

This commit is contained in:
TheM14 committed 2026-10-30 05:23:35 +08:00
1 parent 30e2654a3e
commit d3c9818409
7 files changed
+41 -7

No files matched your search

+7 -2
View File
@@ -206,8 +206,13 @@ void Stream::apply_bed_positions(const FrameMetadata& entry) {
++slot) {
const ::joc::joc::BedChannel channel = bed.channels[slot];
double xyz[3] = {0.0, 0.0, 0.0};
if (binaural_ready_ && ::joc::joc::bed_channel_adm_position(channel, xyz)) {
binaural_.set_fixed_position(static_cast<int>(slot) + 1, xyz);
if (::joc::joc::bed_channel_adm_position(channel, xyz)) {
if (binaural_ready_) {
binaural_.set_fixed_position(static_cast<int>(slot) + 1, xyz);
}
if (rosella_ready_) {
rosella_.set_fixed_position(static_cast<int>(slot) + 1, xyz);
}
}
if (!speaker_enabled_) {
continue;