This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
teensy-cores
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix numerical rollover in audio memory management
main
PaulStoffregen
7 years ago
parent
2d7cf7acdd
commit
4e180ad26e
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
+1
-1
teensy3/AudioStream.cpp
+ 1
- 1
teensy3/AudioStream.cpp
View File
@@ -92,7 +92,7 @@ audio_block_t * AudioStream::allocate(void)
uint32_t n, index, avail;
uint32_t *p, *end;
audio_block_t *block;
uint
8
_t used;
uint
32
_t used;
p = memory_pool_available_mask;
end = p + NUM_MASKS;
Write
Preview
Loading…
Cancel
Save