[dahdi-commits] sruffell: branch linux/sruffell/dahdi-linux-chainedvb r7329 - /linux/team/sru...

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Fri Oct 2 18:41:48 CDT 2009


Author: sruffell
Date: Fri Oct  2 18:41:38 2009
New Revision: 7329

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7329
Log:
wip: add in the original buffer count when bumping the latency

Modified:
    linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/voicebus/voicebus.c

Modified: linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/voicebus/voicebus.c
URL: http://svnview.digium.com/svn/dahdi/linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/voicebus/voicebus.c?view=diff&rev=7329&r1=7328&r2=7329
==============================================================================
--- linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/voicebus/voicebus.c (original)
+++ linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/voicebus/voicebus.c Fri Oct  2 18:41:38 2009
@@ -1343,7 +1343,7 @@
 	}
 
 	if (unlikely(vb_check_softunderrun(vb)))
-		__vb_increase_latency(vb, vb_recover_tx_descriptor_list(vb));
+		__vb_increase_latency(vb, vb_recover_tx_descriptor_list(vb) + buffer_count);
 
 	for (i = 0; i < buffer_count; ++i) {
 		/* After the upper layer is done with the completed buffer, it




More information about the dahdi-commits mailing list