]> code.delx.au - pulseaudio/commitdiff
sink: Increase max sink inputs per sink
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Fri, 20 Sep 2013 03:42:51 +0000 (09:12 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Fri, 20 Sep 2013 06:27:53 +0000 (11:57 +0530)
We're hitting the 32 sink-input limit quite often with increasing use of
PA by web browsers, so let's increase this limit.

src/pulsecore/sink.h

index 332e2b1560c9cd67833c271db95e15a8054395ba..e12fabae612430366a3533751675f117f0ff8f9a 100644 (file)
@@ -48,7 +48,7 @@ typedef struct pa_sink_volume_change pa_sink_volume_change;
 #include <pulsecore/thread-mq.h>
 #include <pulsecore/sink-input.h>
 
-#define PA_MAX_INPUTS_PER_SINK 32
+#define PA_MAX_INPUTS_PER_SINK 256
 
 /* Returns true if sink is linked: registered and accessible from client side. */
 static inline bool PA_SINK_IS_LINKED(pa_sink_state_t x) {