Keep the bed positions in the Rosella path and across HRTF resets
This commit is contained in:
1 parent
075ef60afa
commit
8e688d496e
6 files changed
+37
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user