-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reworked the way mixers were assigned to use the enums instead of the…
… array of pointers
- Loading branch information
1 parent
e0eee63
commit 1f01b73
Showing
2 changed files
with
85 additions
and
80 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
Oops, something went wrong.
1f01b73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think as-is it this doubles the memory storage for the pre-defined mixers. I think you can fix that by putting the values inside array_of_mixers_[] definition. Then you have to match the index with mixer_type_t. This is not really better than just keeping the code as it was. We should discuss this offline.
1f01b73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. I didn't think of the additional memory required.