[pulseaudio-discuss] Your Pulse Audio "Client sent non-aligned memblock" change

Michael Schwendt mschwendt at gmail.com
Mon Nov 10 13:49:22 PST 2014


On Mon, 10 Nov 2014 21:17:30 +0100, David Henningsson wrote:

> If you did something like:
> 
> pa_stream_begin_write(s, &data, ...)
> data += 23;
> pa_stream_write(s, data, ...)
> 
> ...that would result in an index parameter of 23. But that seems a bit 
> far fetched for a client to do.

No pa_stream_begin_write is used:

  https://github.com/audacious-media-player/audacious-plugins/blob/3.5.x/src/pulse_audio/pulse_audio.c#L395

Originally, the code was based on Lennart Poettering's old XMMS plugin,
but has been fixed and changed several times to continue to work with
newer Pulse Audio releases.

$ rpm -qa pulseaudio\*|sort
pulseaudio-5.0-24.20141103gitaec81.fc21.x86_64
pulseaudio-gdm-hooks-5.0-24.20141103gitaec81.fc21.x86_64
pulseaudio-libs-5.0-24.20141103gitaec81.fc21.x86_64
pulseaudio-libs-devel-5.0-24.20141103gitaec81.fc21.x86_64
pulseaudio-libs-glib2-5.0-24.20141103gitaec81.fc21.x86_64
pulseaudio-module-bluetooth-5.0-24.20141103gitaec81.fc21.x86_64
pulseaudio-module-x11-5.0-24.20141103gitaec81.fc21.x86_64
pulseaudio-utils-5.0-24.20141103gitaec81.fc21.x86_64


More information about the pulseaudio-discuss mailing list