diff options
Diffstat (limited to 'stm/audio.c')
-rw-r--r-- | stm/audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/audio.c b/stm/audio.c index 829bd6dfde..34adefbcd6 100644 --- a/stm/audio.c +++ b/stm/audio.c @@ -22,7 +22,7 @@ int sample_buf_in; int sample_buf_out; byte sample_buf[SAMPLE_BUF_SIZE]; -MP_BOOL audio_is_full(void) { +bool audio_is_full(void) { return ((sample_buf_in + 1) % SAMPLE_BUF_SIZE) == sample_buf_out; } |