[asterisk-commits] russell: branch russell/jack r92262 - /team/russell/jack/apps/app_jack.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Dec 10 19:06:53 CST 2007
Author: russell
Date: Mon Dec 10 19:06:53 2007
New Revision: 92262
URL: http://svn.digium.com/view/asterisk?view=rev&rev=92262
Log:
Mark both the input and output ports that get created as Terminal ports.
This means that the data originates in Asterisk, and it stops its journey
in Asterisk.
Modified:
team/russell/jack/apps/app_jack.c
Modified: team/russell/jack/apps/app_jack.c
URL: http://svn.digium.com/view/asterisk/team/russell/jack/apps/app_jack.c?view=diff&rev=92262&r1=92261&r2=92262
==============================================================================
--- team/russell/jack/apps/app_jack.c (original)
+++ team/russell/jack/apps/app_jack.c Mon Dec 10 19:06:53 2007
@@ -149,14 +149,14 @@
jack_on_shutdown(jack_data->client, jack_shutdown, jack_data);
jack_data->input_port = jack_port_register(jack_data->client, "input",
- JACK_DEFAULT_AUDIO_TYPE, JackPortIsInput, 0);
+ JACK_DEFAULT_AUDIO_TYPE, JackPortIsInput | JackPortIsTerminal, 0);
if (!jack_data->input_port) {
ast_log(LOG_ERROR, "Failed to create input port for jack client\n");
return -1;
}
jack_data->output_port = jack_port_register(jack_data->client, "output",
- JACK_DEFAULT_AUDIO_TYPE, JackPortIsOutput, 0);
+ JACK_DEFAULT_AUDIO_TYPE, JackPortIsOutput | JackPortIsTerminal, 0);
if (!jack_data->output_port) {
ast_log(LOG_ERROR, "Failed to create output port for jack client\n");
return -1;
More information about the asterisk-commits
mailing list