]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Show the default low input/output latencies for each device in pa dump
authorAndrew Thompson <andrew@hijacked.us>
Tue, 20 Jan 2009 17:59:08 +0000 (17:59 +0000)
committerAndrew Thompson <andrew@hijacked.us>
Tue, 20 Jan 2009 17:59:08 +0000 (17:59 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11313 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_portaudio/mod_portaudio.c

index e36bfb46f03fa5887faed96f453e378a10e40ff4..d50d42c8701b2722da6e544f3bdff85660ddd7ae 100644 (file)
@@ -1166,6 +1166,9 @@ static int dump_info(int verbose)
 
                switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_INFO, "Default rate: %8.2f\n", deviceInfo->defaultSampleRate);
 
+               switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_INFO, "Default input latency: %.3f | ", deviceInfo->defaultLowInputLatency);
+               switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_INFO, "Default output latency: %.3f\n", deviceInfo->defaultLowOutputLatency);
+
                /* poll for standard sample rates */
                inputParameters.device = i;
                inputParameters.channelCount = deviceInfo->maxInputChannels;