Skip to contentSkip to conversation

aplaymidi causes pa_stream_writeable_size() failed - connection terminated

DISCUSSION GitHub issues - edited 1 participant 1 message Aug 23, 2023 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-utils issue #232 was edited from symdeb:

How to reproduce:
1. Plain Ubuntu 23.04 desktop but with kernel 6.5rc1... rc7 and ALSA UMP & sequencer enabled.
2. Insert a MIDI 2.0 UMP capable device
Note: A Focusrite 18i20 Gen 1 audio interface is used for audio playback and set in Pavucontrol as "pro Audio"
4. play a video with the "video" application.
5. run aplaymidi -l or aplaymidi --version
6. Audio stops and soon after the error appears stopping the video.
Unplug the device
Wait for about 30 seconds (this is important, sooner the error will appear)
Repeat steps 3 and 4 . The error won't occur.

![image](https://github.com/alsa-project/alsa-utils/assets/19564066/9bd6e993-be47-4715-8e6c-5f2a2242027c)

This is not unique to aplaymidi, other ALSA clients (aseqdump) may also cause this error. in almost all other applications there is no error, such a web browsers as playing videos in Youtube, the audio playback just stops. some applications , like browsers, can recover by readadjusting the timeline and restarting playback. Some can only recover after closing the application i.e mpv media player.

Issue URL : https://github.com/alsa-project/alsa-utils/issues/232
Repository URL: https://github.com/alsa-project/alsa-utils