]> git.0d.be Git - jack_mixer.git/commitdiff
Create post fader outputs as system outputs
authorFrédéric Péters <fpeters@0d.be>
Wed, 9 Dec 2009 19:22:23 +0000 (20:22 +0100)
committerFrédéric Péters <fpeters@0d.be>
Wed, 9 Dec 2009 19:22:23 +0000 (20:22 +0100)
This is so they are only computed when connected.

jack_mixer.c

index 9dbc5037c4feb8b9e403a71a57adbdeb73b30dd0..2ae8e934cca7880c5a702eea6764eccb17b1d258 100644 (file)
@@ -1085,7 +1085,7 @@ add_channel(
   // for monitoring etc.
   output_channel_name = malloc(channel_name_size + 5);
   sprintf(output_channel_name, "%s Out", channel_name);
-  channel_ptr->output = add_output_channel(mixer, output_channel_name, stereo, 0);
+  channel_ptr->output = add_output_channel(mixer, output_channel_name, stereo, true);
   free(output_channel_name);
 
   channel_ptr->mixer_ptr->input_channels_list = g_slist_prepend(