You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[t=0m35s] Disconnected the A2B bus cable between a single mic and the RADA2B
[t=0m45s] Reconnect the A2B cable
[t=1m55s] Disconnect network cable
[t=2m08s] Reconnect network cable
[t=2m17s] Disconnect network cable
[t=2m27s] Reconnect network cable
Expect: While the A2B or network cable is disconnected an error should be reported and no audio data is sent. When the cable is reconnected the error should be cleared and the Audio should resume.
Actual:
[FAIL] After the A2B cable is disconnected no errors are reported. Audio sends the same value continuously for every sample. Audio stream doesn't recover after the A2B cable is reconnected.
[SUCCESS] A disconnect and reconnect error is reported for the network cable.
Code snippet for event filtering that we expect to return errors:
icsneo::RADA2B *icsneo_pointer; // Created and initialized elsewhere.
icsneo::EventCallback callback(
[this](std::shared_ptr<icsneo::APIEvent> event) { this->event_callback(event); },
std::make_shared<icsneo::EventFilter>(icsneo_pointer));
event_callback_id_ = icsneo::EventManager::GetInstance().addEventCallback(callback);
Output of callback messages
I0924 14:47:27.465102 33853 rad_a2b_device.cc:649] Recevied event callback: RAD-A2B AB0154 Warning: The device was disconnected.
I0924 14:47:49.072597 36500 rad_a2b_device.cc:649] Recevied event callback: RAD-A2B AB0154 Warning: The device was disconnected.
Test:
Expect: While the A2B or network cable is disconnected an error should be reported and no audio data is sent. When the cable is reconnected the error should be cleared and the Audio should resume.
Actual:
[FAIL] After the A2B cable is disconnected no errors are reported. Audio sends the same value continuously for every sample. Audio stream doesn't recover after the A2B cable is reconnected.
[SUCCESS] A disconnect and reconnect error is reported for the network cable.
Code snippet for event filtering that we expect to return errors:
Output of callback messages
Audio Sample during test. Disconnect of A2B bus happens around 35 second mark.
rad_a2b_01.pcm_audio.wav.zip
The text was updated successfully, but these errors were encountered: