add new pa_card object as a way to logically combine multiple sinks and sources

This commit is contained in:
Lennart Poettering 2009-01-15 18:29:16 +01:00
parent aeb0707f12
commit b6deb0cc4c
12 changed files with 327 additions and 4 deletions

View file

@ -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;