summaryrefslogtreecommitdiffstats
path: root/src/polypcore/sample-util.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-02-23 12:04:31 +0000
committerPierre Ossman <ossman@cendio.se>2006-02-23 12:04:31 +0000
commit04c8926739cd5d979077b81b73a0ead0458594a7 (patch)
tree0de678845142bfef323b0b8a0b3bca7791ab1078 /src/polypcore/sample-util.h
parentbd4ae44e9a4b4cf3071cbbbaf9bbb4f84397cd90 (diff)
Mute switch for sinks and sources. This is independent of the volume
setting (similar to ALSA). git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@587 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polypcore/sample-util.h')
-rw-r--r--src/polypcore/sample-util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/polypcore/sample-util.h b/src/polypcore/sample-util.h
index 7ea01a30..da7f56e1 100644
--- a/src/polypcore/sample-util.h
+++ b/src/polypcore/sample-util.h
@@ -44,7 +44,8 @@ size_t pa_mix(
void *data,
size_t length,
const pa_sample_spec *spec,
- const pa_cvolume *volume);
+ const pa_cvolume *volume,
+ int mute);
void pa_volume_memchunk(
pa_memchunk*c,