First Publish. Works fine.
Dependents: unzen_sample_LPC4088_quickstart
Diff: unzen.cpp
- Revision:
- 6:df928d55613b
- Parent:
- 5:1cbfb7a9cd0c
- Child:
- 8:63e098b779e9
--- a/unzen.cpp Thu May 05 07:46:52 2016 +0000 +++ b/unzen.cpp Sat May 07 01:56:37 2016 +0000 @@ -266,12 +266,8 @@ j = 0; for ( int i=0; i<block_size; i++ ) { -// tx_int_buffer[process_index][j++] = tx_left_buffer[i] * -(float)INT_MIN ; -// tx_int_buffer[process_index][j++] = tx_right_buffer[i] * -(float)INT_MIN ; -// tx_int_buffer[process_index][j] = rx_int_buffer[process_index][i]; j++; -// tx_int_buffer[process_index][j] = rx_int_buffer[process_index][j]; j++; - tx_int_buffer[process_index][j++] = i << 27; - tx_int_buffer[process_index][j++] = i << 27 ; + tx_int_buffer[process_index][j++] = tx_left_buffer[i] * -(float)INT_MIN ; + tx_int_buffer[process_index][j++] = tx_right_buffer[i] * -(float)INT_MIN ; } }