summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/source.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-07-16 17:26:55 +0000
committerLennart Poettering <lennart@poettering.net>2006-07-16 17:26:55 +0000
commit6e38949039cca052ee0d167b92f895e4d95ee30d (patch)
treef1aa7dba86a57adf74a4fc8618d0026c457a0edb /src/pulsecore/source.h
parenta537b01cba05ff3d5b8bb3035413d2aebf4e00f0 (diff)
add a new boolean variable is_hardware to pa_sink/pa_source to denote wether the specific device is a hardware device or virtual/software
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1090 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/source.h')
-rw-r--r--src/pulsecore/source.h2
1 files changed, 2 insertions, 0 deletions
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);