AUDIO DISCO_F769NI audioloop basic example
Dependencies: BSP_DISCO_F769NI
Diff: main.cpp
- Revision:
- 1:f849e36f029e
- Parent:
- 0:284b9b17e99a
- Child:
- 2:db1aee306f50
--- a/main.cpp Thu Mar 23 09:24:50 2017 +0000 +++ b/main.cpp Tue Apr 04 09:42:54 2017 +0000 @@ -13,7 +13,7 @@ BUFFER_OFFSET_FULL = 2, } BUFFER_StateTypeDef; -uint32_t audio_rec_buffer_state = BUFFER_OFFSET_NONE; +volatile uint32_t audio_rec_buffer_state = BUFFER_OFFSET_NONE; int32_t Scratch[SCRATCH_BUFF_SIZE]; /* Buffer containing the PCM samples coming from the microphone */