pipewire breaks infrequent writers between pipewire 0.3.59 and 0.3.61
- PipeWire version (
pipewire --version
):
pipewire
Compiled with libpipewire 0.3.63
Linked with libpipewire 0.3.63
- Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
):Debian GNU/Linux bookworm/sid
- Desktop Environment: Gnome
- Kernel version (
uname -r
):6.0.0-6-amd64
Description of Problem:
Issue reported on pipewire 0.3.63 but reproducible with 0.3.61. Not sure if it is a pipewire issue but since 0.3.61, emacspeak (or libespeak-ng) is broken which is very annoying for people using emacspeak.
Bug reports:
- Debian: https://bugs.debian.org/1027762
- espeak-ng: https://github.com/espeak-ng/pcaudiolib/issues/23
How Reproducible:
Steps to Reproduce:
A simpler test case:
#include <string.h>
#include <assert.h>
#include <unistd.h>
#include <espeak-ng/speak_lib.h>
const char * a_str = "Begin";
const char * b_str = "end now";
int main() {
unsigned int unique_identifier = 0;
espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 512, NULL, 0);
assert(espeak_SetParameter(espeakRATE, 550, 0) == EE_OK);
espeak_Synth(a_str, strlen(a_str)+1, 0, POS_CHARACTER, 0,
espeakCHARS_UTF8 , &unique_identifier, NULL);
sleep(3);
espeak_Synth(b_str, strlen(b_str), 0, POS_CHARACTER, 0,
espeakCHARS_UTF8 , &unique_identifier, NULL);
sleep(3);
}
Needs to be linked against -lespeak-ng
.
Actual Results:
Before pipewire 0.3.61, we can hear both 'begin' and 'end now' and starting with pipewire 0.3.61, we can only hear 'begin'.
Expected Results:
We should hear both 'begin' and 'end now'.