summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/source.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/source.h')
-rw-r--r--src/pulsecore/source.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/pulsecore/source.h b/src/pulsecore/source.h
index 4dbe4e01..462bc6ff 100644
--- a/src/pulsecore/source.h
+++ b/src/pulsecore/source.h
@@ -5,17 +5,17 @@
/***
This file is part of PulseAudio.
-
+
PulseAudio is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.
-
+
PulseAudio is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
-
+
You should have received a copy of the GNU Lesser General Public License
along with PulseAudio; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
@@ -49,10 +49,10 @@ struct pa_source {
uint32_t index;
pa_core *core;
pa_source_state_t state;
-
+
char *name;
char *description, *driver; /* may be NULL */
-
+
pa_module *owner; /* may be NULL */
pa_sample_spec sample_spec;
@@ -65,14 +65,14 @@ struct pa_source {
int hw_muted, sw_muted;
int is_hardware;
-
+
void (*notify)(pa_source*source); /* may be NULL */
pa_usec_t (*get_latency)(pa_source *s); /* dito */
int (*set_hw_volume)(pa_source *s); /* dito */
- int (*get_hw_volume)(pa_source *s); /* dito */
+ int (*get_hw_volume)(pa_source *s); /* dito */
int (*set_hw_mute)(pa_source *s); /* dito */
int (*get_hw_mute)(pa_source *s); /* dito */
-
+
void *userdata;
};