Takashi Iwai
3884cf3fea
- Update to version 4.99.4: + sink-input, source-output: Don't crash if format negotiation fails. + man: - pulse-cli-syntax: Document the "journal" log target. - Improve man page and help for cmdline options. + dbus: Use correct idxset when getting sources. + source: Increase max outputs per source + protocol-native: Fix a crash + thread-win32: Implement pa_thread_free_nojoin() + Updated translations. - Add pulseaudio-revert-protocol-native.patch: Don't enumerate unlinked sinks and sources". OBS-URL: https://build.opensuse.org/request/show/223580 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pulseaudio?expand=0&rev=137
34 lines
1.5 KiB
Diff
34 lines
1.5 KiB
Diff
From 3152226502014129d03a50564b1914ce267817f9 Mon Sep 17 00:00:00 2001
|
|
From: Arun Raghavan <arun@accosted.net>
|
|
Date: Mon, 17 Feb 2014 11:02:40 +0000
|
|
Subject: Revert "protocol-native: Don't enumerate unlinked sinks and sources"
|
|
|
|
This reverts commit bd0bd9143f8159e5475b1295e30ec026ff0b6fef.
|
|
---
|
|
diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c
|
|
index 80e72a8..41b4b50 100644
|
|
--- a/src/pulsecore/protocol-native.c
|
|
+++ b/src/pulsecore/protocol-native.c
|
|
@@ -3588,13 +3588,11 @@ static void command_get_info_list(pa_pdispatch *pd, uint32_t command, uint32_t t
|
|
|
|
if (i) {
|
|
PA_IDXSET_FOREACH(p, i, idx) {
|
|
- if (command == PA_COMMAND_GET_SINK_INFO_LIST) {
|
|
- if (PA_SINK_IS_LINKED(((pa_sink *)p)->state))
|
|
- sink_fill_tagstruct(c, reply, p);
|
|
- } else if (command == PA_COMMAND_GET_SOURCE_INFO_LIST) {
|
|
- if (PA_SOURCE_IS_LINKED(((pa_source *)p)->state))
|
|
- source_fill_tagstruct(c, reply, p);
|
|
- } else if (command == PA_COMMAND_GET_CLIENT_INFO_LIST)
|
|
+ if (command == PA_COMMAND_GET_SINK_INFO_LIST)
|
|
+ sink_fill_tagstruct(c, reply, p);
|
|
+ else if (command == PA_COMMAND_GET_SOURCE_INFO_LIST)
|
|
+ source_fill_tagstruct(c, reply, p);
|
|
+ else if (command == PA_COMMAND_GET_CLIENT_INFO_LIST)
|
|
client_fill_tagstruct(c, reply, p);
|
|
else if (command == PA_COMMAND_GET_CARD_INFO_LIST)
|
|
card_fill_tagstruct(c, reply, p);
|
|
--
|
|
cgit v0.9.0.2-2-gbebe
|
|
|