The following patches are required to support draining with the JACK IO plugin. Without these patches $ speaker-test -D jack -c2 will freeze. It is required to support the draining feature implemented in commit ce2095c41f2 (pcm: ioplug: Implement proper drain behavior)