summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniels <niels@dyne.org>2015-07-30 20:36:27 (GMT)
committer niels <niels@dyne.org>2015-07-30 20:36:27 (GMT)
commit0101e8e4e8787dd8c99436f9031cbd53530d9311 (patch)
tree720ef4591b9a02278071ace6a6324641567d7943
parentf264eb0a3a697cc974c5080e7d272608d615e8fd (diff)
(no effect) get latency from input channel
-rw-r--r--veejay-current/veejay-server/bio2jack/bio2jack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/veejay-current/veejay-server/bio2jack/bio2jack.c b/veejay-current/veejay-server/bio2jack/bio2jack.c
index e00c3dd..3308b18 100644
--- a/veejay-current/veejay-server/bio2jack/bio2jack.c
+++ b/veejay-current/veejay-server/bio2jack/bio2jack.c
@@ -1523,7 +1523,7 @@ JACK_OpenEx(int *deviceID, unsigned int bits_per_channel,
{
#ifdef HAVE_JACK_PORT_GET_LATENCY_RANGE
jack_latency_range_t r;
- jack_port_get_latency_range( drv->output_port[0], JackCaptureLatency, &r );
+ jack_port_get_latency_range( drv->input_port[0], JackCaptureLatency, &r );
periods += r.max;
#else
@@ -2445,7 +2445,7 @@ JACK_GetJackInputLatency(int deviceID)
if(drv->client && drv->num_input_channels) {
#ifdef HAVE_JACK_PORT_GET_LATENCY_RANGE
jack_latency_range_t r;
- jack_port_get_latency_range( drv->output_port[0], JackCaptureLatency, &r );
+ jack_port_get_latency_range( drv->input_port[0], JackCaptureLatency, &r );
return_val = r.max;
#else
return_val = jack_port_get_total_latency(drv->client, drv->input_port[0]);