forked from DeviationTX/deviation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adjust to properly detect voice availability (previous disabled config if MUSIC_KEY_PRESSING had zero length) add a voice ini parser mode that allows reading (not writing) of what the old voice system would've read for an id in models
- Loading branch information
1 parent
6dfc826
commit d34f6f4
Showing
7 changed files
with
64 additions
and
25 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#ifndef _VOICE_H_ | ||
#define _VOICE_H_ | ||
|
||
// VOICE_PARSE_MATCH_CUSTOM_LINENUM looks up what the old voice system would have in a given voice_map entry | ||
typedef enum { VOICE_PARSE_MATCH_ID, VOICE_PARSE_MATCH_CUSTOM_LINENUM } voice_parse_mode; | ||
|
||
const char* CONFIG_VoiceParse_WithMode(unsigned id, voice_parse_mode mode); | ||
const char* CONFIG_VoiceParse(unsigned id); | ||
|
||
#endif |
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
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
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
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