-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored env/pitch to avoid unsafe array indexing.
Moved all the things we needed per channel into an "info" struct. Changed a bunch of arrays into a single std::vector<info_t>. Use std::vector<info_t>::at(index) to validate every memory access into a reference 'q'. Use 'q' for all read/write to a given channel.
- Loading branch information
1 parent
86f640e
commit e483352
Showing
1 changed file
with
69 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters