Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: unzen_sample_LPC4088_quickstart
Diff: unzen.cpp
- Revision:
- 6:df928d55613b
- Parent:
- 5:1cbfb7a9cd0c
- Child:
- 8:63e098b779e9
diff -r 1cbfb7a9cd0c -r df928d55613b unzen.cpp
--- 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 ;
}
}