Show the default low input/output latencies for each device in pa dump

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11313 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Andrew Thompson 2009-01-20 17:59:08 +00:00
parent ece4a74ed4
commit 730704484d
1 changed files with 3 additions and 0 deletions

View 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 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 */ /* poll for standard sample rates */
inputParameters.device = i; inputParameters.device = i;
inputParameters.channelCount = deviceInfo->maxInputChannels; inputParameters.channelCount = deviceInfo->maxInputChannels;