mirror of
https://github.com/DanielSWolf/rhubarb-lip-sync.git
synced 2026-11-21 12:25:08 +00:00
Introduced template functions to unify enum<->string conversions
This commit is contained in:
@@ -287,7 +287,7 @@ map<centiseconds, Phone> getPhoneAlignment(const vector<s3wid_t>& wordIds, uniqu
|
||||
|
||||
// Add map entries
|
||||
centiseconds start(startFrame);
|
||||
result[start] = stringToPhone(phoneName);
|
||||
result[start] = parseEnum<Phone>(phoneName);
|
||||
centiseconds end(startFrame + duration);
|
||||
result[end] = Phone::None;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user