[asterisk-commits] russell: branch russell/jack r93177 -	/team/russell/jack/apps/app_jack.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Sun Dec 16 18:06:14 CST 2007
    
    
  
Author: russell
Date: Sun Dec 16 18:06:14 2007
New Revision: 93177
URL: http://svn.digium.com/view/asterisk?view=rev&rev=93177
Log:
Fix a bug that caused the audio to be a bunch of noise.  Stupid sign bit!
I used a jack port management app to directly hook the created input and
output ports together, and the audio is flowing successfully.  I should be
able to feed it through an app that supports jack now ...
Modified:
    team/russell/jack/apps/app_jack.c
Modified: team/russell/jack/apps/app_jack.c
URL: http://svn.digium.com/view/asterisk/team/russell/jack/apps/app_jack.c?view=diff&rev=93177&r1=93176&r2=93177
==============================================================================
--- team/russell/jack/apps/app_jack.c (original)
+++ team/russell/jack/apps/app_jack.c Sun Dec 16 18:06:14 2007
@@ -385,7 +385,7 @@
 	float f_buf[f->samples * 8];
 	size_t f_buf_used = 0;
 	int i;
-	uint16_t *s_buf = f->data;
+	int16_t *s_buf = f->data;
 	size_t res;
 
 	if (!jack_data->output_resample_factor)
    
    
More information about the asterisk-commits
mailing list