[pulseaudio-discuss] [PATCH 04/17] alsa: Remove pa_alsa_path.port
Tanu Kaskinen
tanu.kaskinen at linux.intel.com
Mon Dec 30 05:04:39 PST 2013
It's fully superseded by pa_alsa_path.ports
---
src/modules/alsa/alsa-mixer.c | 2 +-
src/modules/alsa/alsa-mixer.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c
index e7d137a..316f546 100644
--- a/src/modules/alsa/alsa-mixer.c
+++ b/src/modules/alsa/alsa-mixer.c
@@ -4518,7 +4518,7 @@ static pa_device_port* device_port_alsa_init(pa_hashmap *ports, /* card ports */
data = PA_DEVICE_PORT_DATA(p);
data->path = path;
data->setting = setting;
- path->port = p;
+
pa_dynarray_append(path->ports, p);
}
diff --git a/src/modules/alsa/alsa-mixer.h b/src/modules/alsa/alsa-mixer.h
index a557664..7a27ac3 100644
--- a/src/modules/alsa/alsa-mixer.h
+++ b/src/modules/alsa/alsa-mixer.h
@@ -178,7 +178,6 @@ struct pa_alsa_jack {
* mute switch and a single list of selectable options. */
struct pa_alsa_path {
pa_alsa_direction_t direction;
- pa_device_port* port;
pa_dynarray *ports;
char *name;
--
1.8.3.1
More information about the pulseaudio-discuss
mailing list