mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-31 11:08:52 -05:00
add new pa_card object as a way to logically combine multiple sinks and sources
This commit is contained in:
parent
aeb0707f12
commit
b6deb0cc4c
12 changed files with 327 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue