Keep the bed positions in the Rosella path and across HRTF resets
ci / ubuntu-latest (push) Failing after 14s
ci / macos-latest (push) Canceled after 0s
ci / windows-latest (push) Canceled after 0s
ci / release (push) Canceled after 0s

This commit is contained in:
TheM14 committed 2026-10-30 05:23:04 +08:00
1 parent 075ef60afa
commit 8e688d496e
6 files changed
+37 -4

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;