Bug#1051558: dpf-plugins: FTBFS with RtAudio 6
Source: dpf-plugins
Version: 1.7+ds-2
Severity: important
Tags: ftbfs
Dear Maintainer,
dpf-plugins fails to build with RtAudio 6 (currently found in experimental):
```
In file included from ../../dpf/distrho/src/jackbridge/JackBridge.cpp:67,
from ../../dpf/distrho/src/DistrhoPluginJACK.cpp:38,
from ../../dpf/distrho/DistrhoPluginMain.cpp:24:
../../dpf/distrho/src/jackbridge/RtAudioBridge.hpp: In member function ‘bool RtAudioBridge::_open(bool, RtAudio*)’:
../../dpf/distrho/src/jackbridge/RtAudioBridge.hpp:339:32: error: no matching function for call to ‘RtAudio::openStream(RtAudio::StreamParameters* const&, RtAudio::StreamParameters*&, const RtAudioFormat&, int, uint*, int (&)(void*, void*, uint, double, RtAudioStreamStatus, void*), RtAudioBridge*, RtAudio::StreamOptions*, std::nullptr_t)’
339 | rtAudio->openStream(outParamsPtr, inParamsPtr, RTAUDIO_FLOAT32, 48000, &rtAudioBufferFrames,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
340 | RtAudioCallback, this, &opts, nullptr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../dpf/distrho/src/jackbridge/RtAudioBridge.hpp:49:
/usr/include/rtaudio/RtAudio.h:548:20: note: candidate: ‘RtAudioErrorType RtAudio::openStream(StreamParameters*, StreamParameters*, RtAudioFormat, unsigned int, unsigned int*, RtAudioCallback, void*, StreamOptions*)’
548 | RtAudioErrorType openStream( RtAudio::StreamParameters *outputParameters,
| ^~~~~~~~~~
/usr/include/rtaudio/RtAudio.h:548:20: note: candidate expects 8 arguments, 9 provided
../../dpf/distrho/src/jackbridge/RtAudioBridge.hpp:341:24: error: ISO C++ forbids declaration of ‘RtAudioError’ with no type [-fpermissive]
341 | } catch (const RtAudioError& err) {
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/RtAudioBridge.hpp:341:36: error: expected ‘)’ before ‘&’ token
341 | } catch (const RtAudioError& err) {
| ^
../../dpf/distrho/src/jackbridge/RtAudioBridge.hpp:341:17: note: to match this ‘(’
341 | } catch (const RtAudioError& err) {
| ^
../../dpf/distrho/src/jackbridge/RtAudioBridge.hpp:341:36: error: expected ‘{’ before ‘&’ token
341 | } catch (const RtAudioError& err) {
| ^
../../dpf/distrho/src/jackbridge/RtAudioBridge.hpp:341:38: error: ‘err’ was not declared in this scope; did you mean ‘erf’?
341 | } catch (const RtAudioError& err) {
| ^~~
| erf
In file included from ../../dpf/distrho/src/../extra/../DistrhoUtils.hpp:20,
from ../../dpf/distrho/src/../extra/String.hpp:20,
from ../../dpf/distrho/src/../DistrhoDetails.hpp:20,
from ../../dpf/distrho/src/../DistrhoPlugin.hpp:20,
from ../../dpf/distrho/src/DistrhoPluginInternal.hpp:20,
from ../../dpf/distrho/src/DistrhoPlugin.cpp:17,
from ../../dpf/distrho/DistrhoPluginMain.cpp:17:
../../dpf/distrho/src/../extra/../src/DistrhoDefines.h:143:49: error: expected primary-expression before ‘catch’
143 | #define DISTRHO_SAFE_EXCEPTION_RETURN(msg, ret) catch(...) { d_safe_exception(msg, __FILE__, __LINE__); return ret; }
| ^~~~~
../../dpf/distrho/src/jackbridge/RtAudioBridge.hpp:348:11: note: in expansion of macro ‘DISTRHO_SAFE_EXCEPTION_RETURN’
348 | } DISTRHO_SAFE_EXCEPTION_RETURN("rtAudio->openStream()", false);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../dpf/distrho/src/jackbridge/JackBridge.cpp:69:
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp: In member function ‘void RtAudio::openRtApi(Api)’:
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:210:18: error: expected type-specifier before ‘RtApiAlsa’
210 | rtapi_ = new RtApiAlsa();
| ^~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:214:18: error: expected type-specifier before ‘RtApiPulse’
214 | rtapi_ = new RtApiPulse();
| ^~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp: At global scope:
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:242:1: error: no declaration matches ‘RtAudio::RtAudio(Api)’
242 | RtAudio :: RtAudio( RtAudio::Api api )
| ^~~~~~~
/usr/include/rtaudio/RtAudio.h:267:26: note: candidates are: ‘constexpr RtAudio::RtAudio(const RtAudio&)’
267 | class RTAUDIO_DLL_PUBLIC RtAudio
| ^~~~~~~
/usr/include/rtaudio/RtAudio.h:433:3: note: ‘RtAudio::RtAudio(Api, RtAudioErrorCallback&&)’
433 | RtAudio( RtAudio::Api api=UNSPECIFIED, RtAudioErrorCallback&& errorCallback=0 );
| ^~~~~~~
/usr/include/rtaudio/RtAudio.h:267:26: note: ‘class RtAudio’ defined here
267 | class RTAUDIO_DLL_PUBLIC RtAudio
| ^~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:281:6: error: no declaration matches ‘void RtAudio::openStream(StreamParameters*, StreamParameters*, RtAudioFormat, unsigned int, unsigned int*, RtAudioCallback, void*, StreamOptions*, RtAudioErrorCallback)’
281 | void RtAudio :: openStream( RtAudio::StreamParameters *outputParameters,
| ^~~~~~~
/usr/include/rtaudio/RtAudio.h:548:20: note: candidate is: ‘RtAudioErrorType RtAudio::openStream(StreamParameters*, StreamParameters*, RtAudioFormat, unsigned int, unsigned int*, RtAudioCallback, void*, StreamOptions*)’
548 | RtAudioErrorType openStream( RtAudio::StreamParameters *outputParameters,
| ^~~~~~~~~~
/usr/include/rtaudio/RtAudio.h:267:26: note: ‘class RtAudio’ defined here
267 | class RTAUDIO_DLL_PUBLIC RtAudio
| ^~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp: In constructor ‘RtApi::RtApi()’:
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:310:3: error: ‘firstErrorOccurred_’ was not declared in this scope
310 | firstErrorOccurred_ = false;
| ^~~~~~~~~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp: At global scope:
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:318:6: error: no declaration matches ‘void RtApi::openStream(RtAudio::StreamParameters*, RtAudio::StreamParameters*, RtAudioFormat, unsigned int, unsigned int*, RtAudioCallback, void*, RtAudio::StreamOptions*, RtAudioErrorCallback)’
318 | void RtApi :: openStream( RtAudio::StreamParameters *oParams,
| ^~~~~
/usr/include/rtaudio/RtAudio.h:758:20: note: candidate is: ‘RtAudioErrorType RtApi::openStream(RtAudio::StreamParameters*, RtAudio::StreamParameters*, RtAudioFormat, unsigned int, unsigned int*, RtAudioCallback, void*, RtAudio::StreamOptions*)’
758 | RtAudioErrorType openStream( RtAudio::StreamParameters *outputParameters,
| ^~~~~~~~~~
/usr/include/rtaudio/RtAudio.h:745:26: note: ‘class RtApi’ defined here
745 | class RTAUDIO_DLL_PUBLIC RtApi
| ^~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp: In member function ‘long int RtApi::getStreamLatency()’:
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:453:3: error: ‘verifyStream’ was not declared in this scope
453 | verifyStream();
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp: At global scope:
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:464:8: error: no declaration matches ‘double RtApi::getStreamTime()’
464 | double RtApi :: getStreamTime( void )
| ^~~~~
/usr/include/rtaudio/RtAudio.h:770:18: note: candidate is: ‘virtual double RtApi::getStreamTime() const’
770 | virtual double getStreamTime( void ) const { return stream_.streamTime; }
| ^~~~~~~~~~~~~
/usr/include/rtaudio/RtAudio.h:745:26: note: ‘class RtApi’ defined here
745 | class RTAUDIO_DLL_PUBLIC RtApi
| ^~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp: In member function ‘virtual void RtApi::setStreamTime(double)’:
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:489:3: error: ‘verifyStream’ was not declared in this scope
489 | verifyStream();
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp: In member function ‘unsigned int RtApi::getStreamSampleRate()’:
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:500:2: error: ‘verifyStream’ was not declared in this scope
500 | verifyStream();
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp: At global scope:
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7166:1: error: ‘RtApiAlsa’ does not name a type
7166 | RtApiAlsa :: RtApiAlsa()
| ^~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7171:1: error: ‘RtApiAlsa’ does not name a type
7171 | RtApiAlsa :: ~RtApiAlsa()
| ^~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7176:14: error: ‘RtApiAlsa’ has not been declared
7176 | unsigned int RtApiAlsa :: getDeviceCount( void )
| ^~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp: In function ‘unsigned int getDeviceCount()’:
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7198:7: error: ‘errorStream_’ was not declared in this scope
7198 | errorStream_ << "RtApiAlsa::getDeviceCount: control open, card = " << card << ", " << snd_strerror( result ) << ".";
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7199:7: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7199 | errorText_ = errorStream_.str();
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7200:14: error: ‘RtAudioError’ has not been declared
7200 | error( RtAudioError::WARNING );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7200:7: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7200 | error( RtAudioError::WARNING );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7207:9: error: ‘errorStream_’ was not declared in this scope
7207 | errorStream_ << "RtApiAlsa::getDeviceCount: control next device, card = " << card << ", " << snd_strerror( result ) << ".";
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7208:9: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7208 | errorText_ = errorStream_.str();
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7209:16: error: ‘RtAudioError’ has not been declared
7209 | error( RtAudioError::WARNING );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7209:9: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7209 | error( RtAudioError::WARNING );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp: At global scope:
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7225:21: error: ‘RtApiAlsa’ has not been declared
7225 | RtAudio::DeviceInfo RtApiAlsa :: getDeviceInfo( unsigned int device )
| ^~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp: In function ‘RtAudio::DeviceInfo getDeviceInfo(unsigned int)’:
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7228:8: error: ‘struct RtAudio::DeviceInfo’ has no member named ‘probed’
7228 | info.probed = false;
| ^~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7252:7: error: ‘errorStream_’ was not declared in this scope
7252 | errorStream_ << "RtApiAlsa::getDeviceInfo: control open, card = " << card << ", " << snd_strerror( result ) << ".";
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7253:7: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7253 | errorText_ = errorStream_.str();
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7254:14: error: ‘RtAudioError’ has not been declared
7254 | error( RtAudioError::WARNING );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7254:7: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7254 | error( RtAudioError::WARNING );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7261:9: error: ‘errorStream_’ was not declared in this scope
7261 | errorStream_ << "RtApiAlsa::getDeviceInfo: control next device, card = " << card << ", " << snd_strerror( result ) << ".";
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7262:9: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7262 | errorText_ = errorStream_.str();
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7263:16: error: ‘RtAudioError’ has not been declared
7263 | error( RtAudioError::WARNING );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7263:9: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7263 | error( RtAudioError::WARNING );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7280:5: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7280 | errorText_ = "RtApiAlsa::getDeviceInfo: no devices found!";
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7281:12: error: ‘RtAudioError’ has not been declared
7281 | error( RtAudioError::INVALID_USE );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7281:5: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7281 | error( RtAudioError::INVALID_USE );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7286:5: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7286 | errorText_ = "RtApiAlsa::getDeviceInfo: device ID is invalid!";
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7287:12: error: ‘RtAudioError’ has not been declared
7287 | error( RtAudioError::INVALID_USE );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7287:5: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7287 | error( RtAudioError::INVALID_USE );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7295:8: error: ‘stream_’ was not declared in this scope
7295 | if ( stream_.state != STREAM_CLOSED &&
| ^~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7295:25: error: ‘STREAM_CLOSED’ was not declared in this scope
7295 | if ( stream_.state != STREAM_CLOSED &&
| ^~~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7298:20: error: ‘devices_’ was not declared in this scope; did you mean ‘device’?
7298 | if ( device >= devices_.size() ) {
| ^~~~~~~~
| device
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7299:7: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7299 | errorText_ = "RtApiAlsa::getDeviceInfo: device ID was not present before stream was opened.";
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7300:14: error: ‘RtAudioError’ has not been declared
7300 | error( RtAudioError::WARNING );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7300:7: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7300 | error( RtAudioError::WARNING );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7303:12: error: ‘devices_’ was not declared in this scope; did you mean ‘device’?
7303 | return devices_[ device ];
| ^~~~~~~~
| device
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7330:5: error: ‘errorStream_’ was not declared in this scope
7330 | errorStream_ << "RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (" << name << "), " << snd_strerror( result ) << ".";
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7331:5: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7331 | errorText_ = errorStream_.str();
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7332:12: error: ‘RtAudioError’ has not been declared
7332 | error( RtAudioError::WARNING );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7332:5: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7332 | error( RtAudioError::WARNING );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7340:5: error: ‘errorStream_’ was not declared in this scope
7340 | errorStream_ << "RtApiAlsa::getDeviceInfo: snd_pcm_hw_params error for device (" << name << "), " << snd_strerror( result ) << ".";
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7341:5: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7341 | errorText_ = errorStream_.str();
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7342:12: error: ‘RtAudioError’ has not been declared
7342 | error( RtAudioError::WARNING );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7342:5: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7342 | error( RtAudioError::WARNING );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7351:5: error: ‘errorStream_’ was not declared in this scope
7351 | errorStream_ << "RtApiAlsa::getDeviceInfo: error getting device (" << name << ") output channels, " << snd_strerror( result ) << ".";
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7352:5: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7352 | errorText_ = errorStream_.str();
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7353:12: error: ‘RtAudioError’ has not been declared
7353 | error( RtAudioError::WARNING );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7353:5: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7353 | error( RtAudioError::WARNING );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7378:5: error: ‘errorStream_’ was not declared in this scope
7378 | errorStream_ << "RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (" << name << "), " << snd_strerror( result ) << ".";
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7379:5: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7379 | errorText_ = errorStream_.str();
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7380:12: error: ‘RtAudioError’ has not been declared
7380 | error( RtAudioError::WARNING );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7380:5: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7380 | error( RtAudioError::WARNING );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7389:5: error: ‘errorStream_’ was not declared in this scope
7389 | errorStream_ << "RtApiAlsa::getDeviceInfo: snd_pcm_hw_params error for device (" << name << "), " << snd_strerror( result ) << ".";
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7390:5: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7390 | errorText_ = errorStream_.str();
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7391:12: error: ‘RtAudioError’ has not been declared
7391 | error( RtAudioError::WARNING );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7391:5: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7391 | error( RtAudioError::WARNING );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7399:5: error: ‘errorStream_’ was not declared in this scope
7399 | errorStream_ << "RtApiAlsa::getDeviceInfo: error getting device (" << name << ") input channels, " << snd_strerror( result ) << ".";
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7400:5: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7400 | errorText_ = errorStream_.str();
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7401:12: error: ‘RtAudioError’ has not been declared
7401 | error( RtAudioError::WARNING );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7401:5: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7401 | error( RtAudioError::WARNING );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7433:5: error: ‘errorStream_’ was not declared in this scope
7433 | errorStream_ << "RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (" << name << "), " << snd_strerror( result ) << ".";
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7434:5: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7434 | errorText_ = errorStream_.str();
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7435:12: error: ‘RtAudioError’ has not been declared
7435 | error( RtAudioError::WARNING );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7435:5: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7435 | error( RtAudioError::WARNING );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7443:5: error: ‘errorStream_’ was not declared in this scope
7443 | errorStream_ << "RtApiAlsa::getDeviceInfo: snd_pcm_hw_params error for device (" << name << "), " << snd_strerror( result ) << ".";
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7444:5: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7444 | errorText_ = errorStream_.str();
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7445:12: error: ‘RtAudioError’ has not been declared
7445 | error( RtAudioError::WARNING );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7445:5: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7445 | error( RtAudioError::WARNING );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7451:29: error: ‘MAX_SAMPLE_RATES’ was not declared in this scope; did you mean ‘PA_SAMPLE_ALAW’?
7451 | for ( unsigned int i=0; i<MAX_SAMPLE_RATES; i++ ) {
| ^~~~~~~~~~~~~~~~
| PA_SAMPLE_ALAW
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7452:56: error: ‘SAMPLE_RATES’ was not declared in this scope
7452 | if ( snd_pcm_hw_params_test_rate( phandle, params, SAMPLE_RATES[i], 0 ) == 0 ) {
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7461:5: error: ‘errorStream_’ was not declared in this scope
7461 | errorStream_ << "RtApiAlsa::getDeviceInfo: no supported sample rates found for device (" << name << ").";
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7462:5: error: ‘errorText_’ was not declared in this scope; did you mean ‘error_t’?
7462 | errorText_ = errorStream_.str();
| ^~~~~~~~~~
| error_t
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7463:12: error: ‘RtAudioError’ has not been declared
7463 | error( RtAudioError::WARNING );
| ^~~~~~~~~~~~
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7463:5: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
7463 | error( RtAudioError::WARNING );
| ^~~~~
| perror
../../dpf/distrho/src/jackbridge/rtaudio/RtAudio.cpp:7492:5: error: ‘errorStream_’ was not declared in this scope
7492 | errorStream_ << "RtApiAlsa::getDeviceInfo: pcm device (" << name << ") data format not supported by RtAudio.";
| ^~~~~~~~~~~~
[...]
```
as i would like to upload RtAudio-6 to unstable soonish, it would be great if
you could fix this.
cheers
Reply to: