伊地知ニジカ放送局だぬ゛ん゛. https://www.youtube.com/@deerjika
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.

AquesTalk2.h 2.9 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. //////////////////////////////////////////////////////////////////////
  2. /*! @class AquesTalk2
  3. @brief KGW AquesTalk2
  4. L񂩂特g`f[^ɐ
  5. o͉g`́A8HKzTvO, 16bit,m,WAVtH[}bg
  6. @author N.Yamazaki (Aquest)
  7. @date 2009/11/28 N.Yamazaki Creation (from AuesTalk.h)
  8. */
  9. // COPYRIGHT (C) 2009 AQUEST CORP.
  10. //////////////////////////////////////////////////////////////////////
  11. #if !defined(_AQUESTALK2_H_)
  12. #define _AQUESTALK2_H_
  13. #ifdef __cplusplus
  14. extern "C"{
  15. #endif
  16. #if defined(AQUESTALK2_EXPORTS)
  17. #undef DllExport
  18. #define DllExport __declspec( dllexport )
  19. #else
  20. #define DllExport
  21. #endif
  22. #if !(defined(WIN32)||defined(WINCE))
  23. #define __stdcall // for Linux etc.
  24. #endif
  25. /////////////////////////////////////////////
  26. //! L񂩂特g`𐶐
  27. //! g`f[^͓ŗ̈mۂB
  28. //! g`f[^͖̉{֐̌ĂяoAquesTalk_FreeWave()ɂčs
  29. //! @param koe[in] LiSJIS NULLI[j
  30. //! @param iSpeed[in] bx [%] 50-300 ̊ԂŎw default:100
  31. //! @param pSize[out] f[^̃TCY[byte]iG[̏ꍇ̓G[R[hԂj
  32. //! @param phontDat[in] phontf[^̐擪AhXw肵܂BDLL̃ftHgPhontpƂ͂Ow肵܂B
  33. //! @return WAVtH[}bg̉f[^̐擪AhXBG[NULLԂ
  34. DllExport unsigned char * __stdcall AquesTalk2_Synthe(const char *koe, int iSpeed, int *pSize, void *phontDat);
  35. //! @param koe[in] LiEUC NULLI[j
  36. DllExport unsigned char * __stdcall AquesTalk2_Synthe_Euc(const char *koe, int iSpeed, int *pSize, void *phontDat);
  37. //! @param koe[in] LiUTF8 NULLI[ BOM͂‚Ȃj
  38. DllExport unsigned char * __stdcall AquesTalk2_Synthe_Utf8(const char *koe, int iSpeed, int *pSize, void *phontDat);
  39. //! @param koe[in] LiUTF16 NULLI[ BOM̗L͖Ȃ@GfBA͎s‹ɏ]j
  40. DllExport unsigned char * __stdcall AquesTalk2_Synthe_Utf16(const unsigned short *koe, int iSpeed, int *pSize, void *phontDat);
  41. //! @param koe[in] Li[}\L NULLI[j
  42. DllExport unsigned char * __stdcall AquesTalk2_Synthe_Roman(const char *koe, int iSpeed, int *pSize, void *phontDat);
  43. /////////////////////////////////////////////
  44. //! f[^̗̈J
  45. //! @param wav[in] AquesTalk_Synthe()ŕԂꂽAhXw
  46. DllExport void __stdcall AquesTalk2_FreeWave(unsigned char *wav);
  47. #ifdef __cplusplus
  48. }
  49. #endif
  50. #endif // !defined(_AQUESTALK2_H_)
  51. // ----------------------------------------------------------------------
  52. // ! Copyright AQUEST Corp. 2006- . All Rights Reserved. !
  53. // ! An unpublished and CONFIDENTIAL work. Reproduction, adaptation, or !
  54. // ! translation without prior written permission is prohibited except !
  55. // ! as allowed under the copyright laws. !
  56. // ----------------------------------------------------------------------