# HG changeset patch # User Eric Wing # Date 1302126849 25200 # Node ID 76a881923cfcbb6e7a1d7ec6ebc4505b631dc1ba # Parent 7709c21454351b81fc87429af8d74e6956bd7523 Bug fix for starvation problem due to for-loop using uninitialized variable. diff -r 7709c2145435 -r 76a881923cfc ALmixer.c --- 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;