diff options
Diffstat (limited to 'src/pulsecore')
-rw-r--r-- | src/pulsecore/sink.c | 2 | ||||
-rw-r--r-- | src/pulsecore/sink.h | 2 | ||||
-rw-r--r-- | src/pulsecore/source.c | 2 | ||||
-rw-r--r-- | src/pulsecore/source.h | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c index ee6850f0..8acb7715 100644 --- a/src/pulsecore/sink.c +++ b/src/pulsecore/sink.c @@ -102,6 +102,8 @@ pa_sink* pa_sink_new( s->sw_muted = 0; s->hw_muted = 0; + s->is_hardware = 0; + s->get_latency = NULL; s->notify = NULL; s->set_hw_volume = NULL; diff --git a/src/pulsecore/sink.h b/src/pulsecore/sink.h index fdff0522..1a6bc988 100644 --- a/src/pulsecore/sink.h +++ b/src/pulsecore/sink.h @@ -60,6 +60,8 @@ struct pa_sink { pa_cvolume hw_volume, sw_volume; int hw_muted, sw_muted; + int is_hardware; + void (*notify)(pa_sink*sink); pa_usec_t (*get_latency)(pa_sink *s); int (*set_hw_volume)(pa_sink *s); diff --git a/src/pulsecore/source.c b/src/pulsecore/source.c index 84151a92..48b6daea 100644 --- a/src/pulsecore/source.c +++ b/src/pulsecore/source.c @@ -98,6 +98,8 @@ pa_source* pa_source_new( s->sw_muted = 0; s->hw_muted = 0; + s->is_hardware = 0; + s->get_latency = NULL; s->notify = NULL; s->set_hw_volume = NULL; diff --git a/src/pulsecore/source.h b/src/pulsecore/source.h index 6255c115..878ae34d 100644 --- a/src/pulsecore/source.h +++ b/src/pulsecore/source.h @@ -61,6 +61,8 @@ struct pa_source { pa_cvolume hw_volume, sw_volume; int hw_muted, sw_muted; + + int is_hardware; void (*notify)(pa_source*source); pa_usec_t (*get_latency)(pa_source *s); |