aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Gomizelj <simongmzlj@gmail.com>2012-09-24 11:28:26 -0400
committerDave Reisner <dreisner@archlinux.org>2012-10-01 23:37:50 -0400
commit08b77eb2c6242532749aa445d64cff883d0f8481 (patch)
tree325c4acac0a22530a26ccdf29fa194fd38d69537
parent92463dc98338ae0a571e97e62c4163b0f223bb34 (diff)
downloadmirror-ponymix-08b77eb2c6242532749aa445d64cff883d0f8481.tar.gz
mirror-ponymix-08b77eb2c6242532749aa445d64cff883d0f8481.tar.bz2
mirror-ponymix-08b77eb2c6242532749aa445d64cff883d0f8481.zip
change application pretty print names
Its kinda counter intuitive to label application outputs as sinks and inputs as sources.
-rw-r--r--ponymix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ponymix.c b/ponymix.c
index 6fce1c7..c79bd06 100644
--- a/ponymix.c
+++ b/ponymix.c
@@ -239,7 +239,7 @@ static struct io_t *sink_input_new(const pa_sink_input_info *info)
{
struct io_t *sink;
- IO_NEW(sink, info, "sink");
+ IO_NEW(sink, info, "output");
sink->desc = strdup(
pa_proplist_gets(info->proplist, PA_PROP_APPLICATION_NAME));
sink->op.mute = pa_context_set_sink_input_mute;
@@ -267,7 +267,7 @@ static struct io_t *source_output_new(const pa_source_output_info *info)
{
struct io_t *source;
- IO_NEW(source, info, "source");
+ IO_NEW(source, info, "input");
source->desc = strdup(
pa_proplist_gets(info->proplist, PA_PROP_APPLICATION_NAME));
source->op.mute = pa_context_set_source_output_mute;