init array, changed bit rate
fixed loop (c99 mode)