Bug#1122209: vlc: FTBFS with libspatialaudio 0.4: error: ‘CAmbisonicBinauralizer’ does not name a type
Source: vlc
Version: 3.0.22-1
Severity: important
Tags: ftbfs
X-Debbugs-Cc: sramacher@debian.org
audio_filter/channel_mixer/spatialaudio.cpp:115:5: error: ‘CAmbisonicBinauralizer’ does not name a type
115 | CAmbisonicBinauralizer binauralDecoder;
| ^~~~~~~~~~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:116:5: error: ‘SpeakersBinauralizer’ does not name a type
116 | SpeakersBinauralizer binauralizer;
| ^~~~~~~~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:117:5: error: ‘CAmbisonicDecoder’ does not name a type
117 | CAmbisonicDecoder speakerDecoder;
| ^~~~~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:118:5: error: ‘CAmbisonicProcessor’ does not name a type
118 | CAmbisonicProcessor processor;
| ^~~~~~~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:119:5: error: ‘CAmbisonicZoomer’ does not name a type
119 | CAmbisonicZoomer zoomer;
| ^~~~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:121:5: error: ‘CAmbisonicSpeaker’ does not name a type
121 | CAmbisonicSpeaker *speakers;
| ^~~~~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp: In constructor ‘filter_spatialaudio::filter_spatialaudio()’:
audio_filter/channel_mixer/spatialaudio.cpp:88:11: error: class ‘filter_spatialaudio’ does not have any field named ‘speakers’
88 | : speakers(NULL)
| ^~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp: In destructor ‘filter_spatialaudio::~filter_spatialaudio()’:
audio_filter/channel_mixer/spatialaudio.cpp:96:18: error: ‘speakers’ was not declared in this scope
96 | delete[] speakers;
| ^~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp: In function ‘block_t* Mix(filter_t*, block_t*)’:
audio_filter/channel_mixer/spatialaudio.cpp:218:24: error: ‘struct filter_spatialaudio’ has no member named ‘binauralizer’
218 | p_sys->binauralizer.Process(p_sys->inBuf, p_sys->outBuf);
| ^~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:223:17: error: ‘CBFormat’ was not declared in this scope
223 | CBFormat inData;
| ^~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:224:17: error: ‘inData’ was not declared in this scope
224 | inData.Configure(p_sys->i_order, true, AMB_BLOCK_TIME_LEN);
| ^~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:229:17: error: ‘Orientation’ was not declared in this scope; did you mean ‘spaudio::Orientation’?
229 | Orientation ori(p_sys->f_teta, p_sys->f_phi, p_sys->f_roll);
| ^~~~~~~~~~~
| spaudio::Orientation
In file included from /usr/include/spatialaudio/Ambisonics.h:27,
from audio_filter/channel_mixer/spatialaudio.cpp:43:
/usr/include/spatialaudio/AmbisonicProcessor.h:45:23: note: ‘spaudio::Orientation’ declared here
45 | class SPAUDIO_API Orientation
| ^~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:230:24: error: ‘struct filter_spatialaudio’ has no member named ‘processor’
230 | p_sys->processor.SetOrientation(ori);
| ^~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:230:49: error: ‘ori’ was not declared in this scope
230 | p_sys->processor.SetOrientation(ori);
| ^~~
audio_filter/channel_mixer/spatialaudio.cpp:231:24: error: ‘struct filter_spatialaudio’ has no member named ‘processor’
231 | p_sys->processor.Refresh();
| ^~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:232:24: error: ‘struct filter_spatialaudio’ has no member named ‘processor’
232 | p_sys->processor.Process(&inData, inData.GetSampleCount());
| ^~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:234:24: error: ‘struct filter_spatialaudio’ has no member named ‘zoomer’
234 | p_sys->zoomer.SetZoom(p_sys->f_zoom);
| ^~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:235:24: error: ‘struct filter_spatialaudio’ has no member named ‘zoomer’
235 | p_sys->zoomer.Refresh();
| ^~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:236:24: error: ‘struct filter_spatialaudio’ has no member named ‘zoomer’
236 | p_sys->zoomer.Process(&inData, inData.GetSampleCount());
| ^~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:239:28: error: ‘struct filter_spatialaudio’ has no member named ‘speakerDecoder’
239 | p_sys->speakerDecoder.Process(&inData, inData.GetSampleCount(), p_sys->outBuf);
| ^~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:241:28: error: ‘struct filter_spatialaudio’ has no member named ‘binauralDecoder’
241 | p_sys->binauralDecoder.Process(&inData, p_sys->outBuf);
| ^~~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp: In function ‘int OpenBinauralizer(vlc_object_t*)’:
audio_filter/channel_mixer/spatialaudio.cpp:336:12: error: ‘struct filter_spatialaudio’ has no member named ‘speakers’
336 | p_sys->speakers = new(std::nothrow)CAmbisonicSpeaker[infmt->i_channels]();
| ^~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:336:40: error: ‘CAmbisonicSpeaker’ does not name a type
336 | p_sys->speakers = new(std::nothrow)CAmbisonicSpeaker[infmt->i_channels]();
| ^~~~~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:337:17: error: ‘struct filter_spatialaudio’ has no member named ‘speakers’
337 | if (!p_sys->speakers)
| ^~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:343:12: error: ‘struct filter_spatialaudio’ has no member named ‘speakers’
343 | p_sys->speakers[s++].SetPosition({DegreesToRadians(30), 0.f, 1.f});
| ^~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:343:39: error: ‘DegreesToRadians’ was not declared in this scope; did you mean ‘spaudio::DegreesToRadians’?
343 | p_sys->speakers[s++].SetPosition({DegreesToRadians(30), 0.f, 1.f});
| ^~~~~~~~~~~~~~~~
| spaudio::DegreesToRadians
In file included from /usr/include/spatialaudio/Ambisonics.h:18:
/usr/include/spatialaudio/AmbisonicCommons.h:60:23: note: ‘spaudio::DegreesToRadians’ declared here
60 | SPAUDIO_API float DegreesToRadians(float fDegrees);
| ^~~~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:344:12: error: ‘struct filter_spatialaudio’ has no member named ‘speakers’
344 | p_sys->speakers[s++].SetPosition({DegreesToRadians(-30), 0.f, 1.f});
| ^~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:349:16: error: ‘struct filter_spatialaudio’ has no member named ‘speakers’
349 | p_sys->speakers[s++].SetPosition({DegreesToRadians(110), 0.f, 1.f});
| ^~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:350:16: error: ‘struct filter_spatialaudio’ has no member named ‘speakers’
350 | p_sys->speakers[s++].SetPosition({DegreesToRadians(-110), 0.f, 1.f});
| ^~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:356:16: error: ‘struct filter_spatialaudio’ has no member named ‘speakers’
356 | p_sys->speakers[s++].SetPosition({DegreesToRadians(145), 0.f, 1.f});
| ^~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:357:16: error: ‘struct filter_spatialaudio’ has no member named ‘speakers’
357 | p_sys->speakers[s++].SetPosition({DegreesToRadians(-145), 0.f, 1.f});
| ^~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:361:16: error: ‘struct filter_spatialaudio’ has no member named ‘speakers’
361 | p_sys->speakers[s++].SetPosition({DegreesToRadians(0), 0.f, 1.f});
| ^~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:364:16: error: ‘struct filter_spatialaudio’ has no member named ‘speakers’
364 | p_sys->speakers[s++].SetPosition({DegreesToRadians(0), 0.f, 0.5f});
| ^~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:370:17: error: ‘struct filter_spatialaudio’ has no member named ‘binauralizer’
370 | if (!p_sys->binauralizer.Configure(p_filter->fmt_in.audio.i_rate, AMB_BLOCK_TIME_LEN,
| ^~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:371:47: error: ‘struct filter_spatialaudio’ has no member named ‘speakers’
371 | p_sys->speakers, infmt->i_channels, i_tailLength,
| ^~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:378:12: error: ‘struct filter_spatialaudio’ has no member named ‘binauralizer’
378 | p_sys->binauralizer.Reset();
| ^~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp: In function ‘int Open(vlc_object_t*)’:
audio_filter/channel_mixer/spatialaudio.cpp:448:21: error: ‘struct filter_spatialaudio’ has no member named ‘binauralDecoder’
448 | if (!p_sys->binauralDecoder.Configure(p_sys->i_order, true,
| ^~~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:456:16: error: ‘struct filter_spatialaudio’ has no member named ‘binauralDecoder’
456 | p_sys->binauralDecoder.Reset();
| ^~~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:464:21: error: ‘struct filter_spatialaudio’ has no member named ‘speakerDecoder’
464 | || !p_sys->speakerDecoder.Configure(p_sys->i_order, true,
| ^~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:465:46: error: ‘kAmblib_CustomSpeakerSetUp’ was not declared in this scope; did you mean ‘spaudio::Amblib_SpeakerSetUps::kAmblib_CustomSpeakerSetUp’?
465 | kAmblib_CustomSpeakerSetUp,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| spaudio::Amblib_SpeakerSetUps::kAmblib_CustomSpeakerSetUp
In file included from /usr/include/spatialaudio/Ambisonics.h:26:
/usr/include/spatialaudio/AmbisonicDecoder.h:30:9: note: ‘spaudio::Amblib_SpeakerSetUps::kAmblib_CustomSpeakerSetUp’ declared here
30 | kAmblib_CustomSpeakerSetUp = -1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:478:16: error: ‘struct filter_spatialaudio’ has no member named ‘speakerDecoder’
478 | p_sys->speakerDecoder.SetPosition(s++, {DegreesToRadians(30), 0.f, 1.f});
| ^~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:478:49: error: ‘DegreesToRadians’ was not declared in this scope; did you mean ‘spaudio::DegreesToRadians’?
478 | p_sys->speakerDecoder.SetPosition(s++, {DegreesToRadians(30), 0.f, 1.f});
| ^~~~~~~~~~~~~~~~
| spaudio::DegreesToRadians
/usr/include/spatialaudio/AmbisonicCommons.h:60:23: note: ‘spaudio::DegreesToRadians’ declared here
60 | SPAUDIO_API float DegreesToRadians(float fDegrees);
| ^~~~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:479:16: error: ‘struct filter_spatialaudio’ has no member named ‘speakerDecoder’
479 | p_sys->speakerDecoder.SetPosition(s++, {DegreesToRadians(-30), 0.f, 1.f});
| ^~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:483:20: error: ‘struct filter_spatialaudio’ has no member named ‘speakerDecoder’
483 | p_sys->speakerDecoder.SetPosition(s++, {DegreesToRadians(110), 0.f, 1.f});
| ^~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:484:20: error: ‘struct filter_spatialaudio’ has no member named ‘speakerDecoder’
484 | p_sys->speakerDecoder.SetPosition(s++, {DegreesToRadians(-110), 0.f, 1.f});
| ^~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:489:20: error: ‘struct filter_spatialaudio’ has no member named ‘speakerDecoder’
489 | p_sys->speakerDecoder.SetPosition(s++, {DegreesToRadians(145), 0.f, 1.f});
| ^~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:490:20: error: ‘struct filter_spatialaudio’ has no member named ‘speakerDecoder’
490 | p_sys->speakerDecoder.SetPosition(s++, {DegreesToRadians(-145), 0.f, 1.f});
| ^~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:494:20: error: ‘struct filter_spatialaudio’ has no member named ‘speakerDecoder’
494 | p_sys->speakerDecoder.SetPosition(s++, {DegreesToRadians(0), 0.f, 1.f});
| ^~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:497:20: error: ‘struct filter_spatialaudio’ has no member named ‘speakerDecoder’
497 | p_sys->speakerDecoder.SetPosition(s++, {DegreesToRadians(0), 0.f, 0.5f});
| ^~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:502:16: error: ‘struct filter_spatialaudio’ has no member named ‘speakerDecoder’
502 | p_sys->speakerDecoder.Refresh();
| ^~~~~~~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:505:17: error: ‘struct filter_spatialaudio’ has no member named ‘processor’
505 | if (!p_sys->processor.Configure(p_sys->i_order, true, AMB_BLOCK_TIME_LEN, 0))
| ^~~~~~~~~
audio_filter/channel_mixer/spatialaudio.cpp:512:17: error: ‘struct filter_spatialaudio’ has no member named ‘zoomer’
512 | if (!p_sys->zoomer.Configure(p_sys->i_order, true, 0))
| ^~~~~~
make[5]: *** [Makefile:26750: audio_filter/channel_mixer/libspatialaudio_plugin_la-spatialaudio.lo] Error 1
Cheers
--
Sebastian Ramacher
Reply to: