add a comment that pa_sink_input_set_volume and module-flat-volume.c are related
authorLennart Poettering <lennart@poettering.net>
Tue, 7 Oct 2008 22:10:01 +0000 (00:10 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 7 Oct 2008 22:10:01 +0000 (00:10 +0200)
src/pulsecore/sink-input.c

index c65f18a..8505c63 100644 (file)
@@ -805,6 +805,10 @@ void pa_sink_input_set_volume(pa_sink_input *i, const pa_cvolume *volume) {
     data.virtual_volume = *volume;
     data.volume = *volume;
 
+    /* If you change something here, consider looking into
+     * module-flat-volume.c as well since it uses very similar
+     * code. */
+
     if (pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_SET_VOLUME], &data) < 0)
         return;