Open cbix opened 1 year ago
On 1.0.3 with rtaudio 6 no audio ports are created at all and this error printed:
RtApi::openStream: output device ID is invalid.
Still couldn't build latest master:
Ping @abique
I'm on arch linux. I get the same RtApi::getDeviceInfo: deviceId argument not found.
in this function
void AudioSettingsWidget::updateDeviceList() {
_deviceChooser->clear();
auto deviceCount = _audio->getDeviceCount();
bool deviceFound = false;
// Populate the choices
for (int i = 0; i < deviceCount; ++i) {
auto deviceInfo = _audio->getDeviceInfo(i);
For auto deviceCount = _audio->getDeviceCount();
I see my device count of 6
But for each auto deviceInfo = _audio->getDeviceInfo(i);
it prints RtApi::getDeviceInfo: deviceId argument not found.
and the resulting deviceInfo struct is empty / zero initialized
This was a breaking change in RtAudio where the argument in getDeviceInfo(i) is no longer an index, but a device id.
The fix can be like
auto deviceIds = _audio->getDeviceIds();
for (int i : deviceIds) {
@digitalsignalperson thanks for your input (pun intended), for me this fixes the device selection but still no input ports show up in JACK :(
clap-host 1.0.2 on Linux + PipeWire (jack/alsa/pulse) doesn't provide any way to connect audio inputs, only outputs are created. This is fine for synthesizer/instrument plugins but not for effects.
Couldn't test latest master since that doesn't build at all.