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

@ -41,6 +41,7 @@ typedef struct pa_source pa_source;
#include <pulsecore/msgobject.h>
#include <pulsecore/rtpoll.h>
#include <pulsecore/source-output.h>
#include <pulsecore/card.h>
#define PA_MAX_OUTPUTS_PER_SOURCE 32
@ -73,6 +74,7 @@ struct pa_source {
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;
@ -174,6 +176,7 @@ typedef struct pa_source_new_data {
const char *driver;
pa_module *module;
pa_card *card;
pa_sample_spec sample_spec;
pa_channel_map channel_map;