Moving source-outputs causes protocol errors

Bug #194756 reported by Thorvald Natvig
6
Affects Status Importance Assigned to Milestone
PulseAudio
Fix Released
Unknown
pulseaudio (Ubuntu)
Fix Released
Undecided
Luke Yelavich

Bug Description

Binary package hint: pulseaudio

I've also posted this at http://www.pulseaudio.org/ticket/244 but as the bug causes program failures I'm including it here.

In a recent version, the native protocol was updated to include a "suspend" flag for the stream when a stream is moved. When sending, this was added only to the playback streams. However, the receiving end expects this for both playback and record streams.
The result is that moving a record stream will cause the program using the stream to fail with a "protocol error".

To replicate this:
parec -d 0 > /dev/null
(or any other program recording over the pulseaudio native protocol)

Open pacmd and
move-source-output X Y
and parec will promptly terminate.

The included patch fixes this problem.

Tags: patch

Related branches

Revision history for this message
Thorvald Natvig (slicer) wrote :
Revision history for this message
James Westby (james-w) wrote :

Hi,

Using the commands in the bug report I got

Connection failure: Protocol error
Stream error: Protocol error

from parec, so I am confirming the bug.

Thanks,

James

Changed in pulseaudio:
status: New → Confirmed
Changed in pulseaudio:
status: Unknown → New
Luke Yelavich (themuso)
Changed in pulseaudio:
assignee: nobody → themuso
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pulseaudio - 0.9.9-1ubuntu4

---------------
pulseaudio (0.9.9-1ubuntu4) hardy; urgency=low

  * Patch from Thorvald Natvig to fix protocol error when moving source outputs.
    (LP: #194756)

 -- Luke Yelavich <email address hidden> Fri, 28 Mar 2008 15:58:55 +1100

Changed in pulseaudio:
status: In Progress → Fix Released
Changed in pulseaudio:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.