Counter Strike : Global Offensive Source Code
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.

28 lines
799 B

  1. //===== Copyright � 1996-2005, 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. unsigned char CodeToByteCode( int code );
  23. int ByteCodeToCode( unsigned char byteCode );
  24. #endif // PHONEMECONVERTER_H