On Debian (and other distributions), the package maintainers need to compile both ALSA and PulseAudio support, so users can choose the audio module they prefer. Before this PR, speech-tools is built with either ALSA or PulseAudio support, but not both. With this pull request, PulseAudio becomes an independent audio module (like esdaudio).
On Debian (and other distributions), the package maintainers need to compile both ALSA and PulseAudio support, so users can choose the audio module they prefer. Before this PR, speech-tools is built with either ALSA or PulseAudio support, but not both. With this pull request, PulseAudio becomes an independent audio module (like esdaudio).
This PR is improved from https://salsa.debian.org/tts-team/speech-tools/-/blob/master/debian/patches/pulseaudio_and_alsa.diff