changeset 35:76a881923cfc

Bug fix for starvation problem due to for-loop using uninitialized variable.
author Eric Wing <ewing@anscamobile.com>
date Wed, 06 Apr 2011 14:54:09 -0700
parents 7709c2145435
children b65ad8b6ccf3
files ALmixer.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ALmixer.c	Mon Apr 04 15:57:22 2011 -0700
+++ b/ALmixer.c	Wed Apr 06 14:54:09 2011 -0700
@@ -7811,7 +7811,10 @@
 		num_startup_buffers = max_queue_buffers;
 	}
 	ret_data->num_startup_buffers = num_startup_buffers;
-	
+
+	/* TODO: Expose value through public API */
+	ret_data->num_target_buffers_per_pass = 1;
+
 	ret_data->buffer_map_list = NULL;
 	ret_data->current_buffer = 0;