diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-01-15 18:29:16 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-01-15 18:29:16 +0100 |
commit | b6deb0cc4c169b5ef9450586fc66b0b823ef249c (patch) | |
tree | aae25bfd17edabd2ded8bacfeb05034ad2602501 /src/pulsecore/sink.h | |
parent | aeb0707f1287c481d407d8e8f4a43f86661fdb23 (diff) |
add new pa_card object as a way to logically combine multiple sinks and sources
Diffstat (limited to 'src/pulsecore/sink.h')
-rw-r--r-- | src/pulsecore/sink.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulsecore/sink.h b/src/pulsecore/sink.h index 092e30f2..2bd83b63 100644 --- a/src/pulsecore/sink.h +++ b/src/pulsecore/sink.h @@ -38,6 +38,7 @@ typedef struct pa_sink pa_sink; #include <pulsecore/refcnt.h> #include <pulsecore/msgobject.h> #include <pulsecore/rtpoll.h> +#include <pulsecore/card.h> #define PA_MAX_INPUTS_PER_SINK 32 @@ -70,6 +71,7 @@ struct pa_sink { pa_proplist *proplist; pa_module *module; /* may be NULL */ + pa_card *card; /* may be NULL */ pa_sample_spec sample_spec; pa_channel_map channel_map; @@ -186,6 +188,7 @@ typedef struct pa_sink_new_data { const char *driver; pa_module *module; + pa_card *card; pa_sample_spec sample_spec; pa_channel_map channel_map; |