Skip to content

Commit 48309f1

Browse files
Merge pull request #67 from magnus-nomono/mbk/missing_loudspeaker_array_ambi_dec
Add missing handling of LOUDSPEAKER_ARRAY_PRESET_STEREO in ambi_dec
2 parents f276093 + e2e839e commit 48309f1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

examples/src/ambi_dec/ambi_dec_internal.c

+6
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@ void loadLoudspeakerArrayPreset
131131
/* fall through */
132132
case LOUDSPEAKER_ARRAY_PRESET_DEFAULT:
133133
/* fall through */
134+
case LOUDSPEAKER_ARRAY_PRESET_STEREO:
135+
nCH = 2;
136+
for(ch=0; ch<nCH; ch++)
137+
for(i=0; i<2; i++)
138+
dirs_deg[ch][i] = __stereo_dirs_deg[ch][i];
139+
break;
134140
case LOUDSPEAKER_ARRAY_PRESET_5PX:
135141
nCH = 5;
136142
for(ch=0; ch<nCH; ch++)

0 commit comments

Comments
 (0)