Backport limit increase for pulseaudio number of streams

Bug #1492404 reported by Bob Freeman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Pulseaudio 4.0 has a limit of 32 simultaneous streams, which may be multiple instances of music/video players or multiple browser tabs. If this limit is reached it is not obvious what is going on, there may be a wrongly-worded error message like 'Init failed: Too large', it may cause significant problems, or the unexpected resumption of audio hours or days later without it being obvious where it is coming from, and in one case seemed to mess up alsa requiring a reboot.

This limit is unnecessary and has already been fixed in pulseaudio 5.0. Please backport this change, which is only a single number, to Ubuntu 14.04 LTS, so that these failures no longer occur.

The proposed single number change:
http://pulseaudio-discuss.freedesktop.narkive.com/3jsDewHK/patch-sink-increase-max-sink-inputs-per-sink
A recent version of the file including the change:
https://github.com/otcshare/pulseaudio/commits/master/src/pulsecore/sink.h
The pulseaudio 5.0 release notes saying the change was included there:
http://www.freedesktop.org/wiki/Software/PulseAudio/Notes/5.0/
"sink: Increase max sink inputs per sink"

The change is in pulsecore/sink.h
-#define PA_MAX_INPUTS_PER_SINK 32
+#define PA_MAX_INPUTS_PER_SINK 256

Tags: trusty
Revision history for this message
Bob Freeman (bobfreeman) wrote :

In cases where the limit is not reached this is unlikely to make any difference. In cases where the limit is reached, it is obviously a very big improvement.

tags: added: trusty
Changed in pulseaudio (Ubuntu):
importance: Undecided → Low
status: New → Triaged
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.