mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-30 11:08:50 -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
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue