[Freeswitch-svn] [commit] r11313 - freeswitch/trunk/src/mod/endpoints/mod_portaudio

FreeSWITCH SVN andrew at freeswitch.org
Tue Jan 20 09:59:08 PST 2009


Author: andrew
Date: Tue Jan 20 11:59:08 2009
New Revision: 11313

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


Modified:
   freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c	Tue Jan 20 11:59:08 2009
@@ -1166,6 +1166,9 @@
 
 		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;



More information about the Freeswitch-svn mailing list