aplaymidi causes pa_stream_writeable_size() failed - connection terminated
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 palaymidi --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-471...)
This is not unique to aplaymidi, other ALSA clients 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
participants (1)
-
GitHub issues - edited