-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fallback to only one channel on reconfiguration or daemon restarts #55
Comments
it seems like you can reproduce the problem systematically in different conditions and this is good. |
I've tried to force it using the test, but failed int the simple setups so far. load kernel module /etc/asound.conf pcm.aes67_2 { I've also tried a different version from https://wiki.ubuntuusers.de/.asoundrc/ (last example, replaced usb-name with RAVENNA), same result. It's also reproducible with speaker-test and the above asound.conf. if I then tried speaker-test with the device hw:RAVENNA, output was the same for both channels (left and right). |
I can reproduce the issue but the problem doesn't show up if you stop the player before restarting the daemon. |
wq# Please enter the commit message for your changes. Lines starting
Good news. The issue was in the driver and it was fixed in branch aes67-daemon-issue-55
Please let me know if this works for you and I will merge it back to master with driver 1.4 |
Tested on ARMv71 and x86, sounds good, with stereo and 8 ch streams. deamon restarts while playing - player might misbehave, but fine after restart. (Your obeservation of the problem ocurring only when the player is running explains what I saw) Thank you for the very fast fix, this eases experimentation a lot. Thanks for the buffer size suggestion. |
At Sources and Sinks creation time the driver used the currently configured ALSA buffer sizes instead of the fixed ring buffer size to determine the Sources and Sinks buffer offsets.
I found the same issue for the capture device too and fixed it in the same branch. |
changes to the Ravenna driver merged to driver aes67-daemon branch |
First of all, I really appreciate this project.
I have noticed a strange fallback to only one channel (the first alsa channel on the system) transmitting or receiving audio after streams are reconfigured, the daemon is restarted or the network cable was unplugged and an audio application restarted. Most of the time I was able to fix it by stopping everything and reloading the kernel module. Observed both on bondagit-1.2 and 1.3 on:
PTP GM and Streaming partner is a Lawo A__digital8.
The test ran fine on those systems, but since it loads the kernel module fresh, it doesn't catch this condition.
Only audio on the first channel of the system i/o (alsa) is played/transmitted. Mapping other channels leads to silence.
I can later do some more tests with more verbose logging - I just want to get the conversation started.
The text was updated successfully, but these errors were encountered: