aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-08-11 23:17:33 -0400
committerDave Reisner <dreisner@archlinux.org>2012-08-11 23:17:33 -0400
commitc84b0657f1b05637e6b436791b0f41b9f32d199f (patch)
tree1e6e4802e3bc22b0a95efcaaf89a31d13a5e0a29
parenta78e661c67b6532319d204b6facb9b231f3c5181 (diff)
downloadmirror-ponymix-c84b0657f1b05637e6b436791b0f41b9f32d199f.tar.gz
mirror-ponymix-c84b0657f1b05637e6b436791b0f41b9f32d199f.tar.bz2
mirror-ponymix-c84b0657f1b05637e6b436791b0f41b9f32d199f.zip
s/get_(sinks|sources)/populate_\1/
-rw-r--r--pulsemix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pulsemix.c b/pulsemix.c
index 756b193..bed2965 100644
--- a/pulsemix.c
+++ b/pulsemix.c
@@ -427,7 +427,7 @@ static void print_all(struct pulseaudio_t *pulse)
}
}
-static void get_sinks(struct pulseaudio_t *pulse, enum mode mode)
+static void populate_sinks(struct pulseaudio_t *pulse, enum mode mode)
{
pa_operation *op;
@@ -477,7 +477,7 @@ static void get_default_sink(struct pulseaudio_t *pulse)
get_sink_by_name(pulse, sink_name, MODE_DEVICE);
}
-static void get_sources(struct pulseaudio_t *pulse, enum mode mode)
+static void populate_sources(struct pulseaudio_t *pulse, enum mode mode)
{
pa_operation *op;
@@ -758,8 +758,8 @@ int main(int argc, char *argv[])
get_default_source(&pulse);
print_all(&pulse);
} else if (verb == ACTION_LIST) {
- get_sinks(&pulse, mode);
- get_sources(&pulse, mode);
+ populate_sinks(&pulse, mode);
+ populate_sources(&pulse, mode);
print_all(&pulse);
} else {
/* determine sink */