Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
708 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //===========================================================================//
  7. #ifndef PHONEMECONVERTER_H
  8. #define PHONEMECONVERTER_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. const char *ConvertPhoneme( int code );
  13. int TextToPhoneme( const char *text );
  14. float WeightForPhonemeCode( int code );
  15. float WeightForPhoneme( char *text );
  16. int NumPhonemes();
  17. int TextToPhonemeIndex( const char *text );
  18. const char *NameForPhonemeByIndex( int index );
  19. int CodeForPhonemeByIndex( int index );
  20. const char *DescForPhonemeByIndex( int index );
  21. bool IsStandardPhoneme( int index );
  22. #endif // PHONEMECONVERTER_H