First Publish. Works fine.
Dependents: unzen_sample_nucleo_f746 unzen_delay_sample_nucleo_f746 skeleton_unzen_nucleo_f746 ifmag_noise_canceller ... more
Nucleo F746ZG用のオーディオ・フレームワークです。フレームワーク地震の詳細は『雲仙』オーディオ・フレームワークを参照してください。
参考リンク
- skeleton_unzen_nucleo_f746 Nucleo F746ZGおよびUI基板を使う場合のスケルトンプログラム。F746を使う方はここから読み始めると良いでしょう。
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 ; } }