LINUX.ORG.RU

История изменений

Исправление EXL, (текущая версия) :

ATT TTS

У меня в загашнике есть какая-то проприетарная TTS библиотека, но под ARMv6. Вот такие методы в ней есть (Header'а не было, когда-то давно пытался написать его сам, вроде работало):

#ifndef VRCLIENT_H
#define VRCLIENT_H

class QString;

enum VR_PLAYTTS_T {
    Type1, // Whats mean types?
    Type2,
    Type3
};

class VRClient
{
public:
    VRClient();
    static int VR_startVR(void); /* Maybe this is VR init?
    For example, if "vr" daemon don't runing, this method run "vr" */

    static int VR_TTS_play_Text(const QString &, VR_PLAYTTS_T); // Play text in QString

    static void VR_interruptVR(void); // Stop VR playing?
    static void VR_interruptVR_ToIdle(void); // Stop VR playing?

    static VR_PLAYTTS_T VR_getVRType(void); // Get VR_PLAYTTS_T
    static int getTTSVolumn(void); // Get System Volume?
    static int VR_getVRlangType(void); // Get speaking language?

    static int SDVR_training(QString &); // Unknown. Why don't const?
    static int SDVR_confirmTraining(const QString &); // Unknown

    // What's VoiceTag? Maybe if dude speak "camera" - phone run camera app,
    // i.e "camera" - is "voicetag"?
    // also then VR_startVR() - start listen voicetags?
    static int SDVR_playVoiceTag(const QString &);
    static int SDVR_deleteVoiceTag(const QString &);
    static int SDVR_deleteAllVoiceTag(void);

    ~VRClient();
};

#endif // VRCLIENT_H

Исправление EXL, :

ATT TTS

У меня в загашнике есть какая-то проприетарная TTS библиотека, но под ARMv6. Вот такие методы в ней есть (Header'а не было, когда-то давно пытался написать его сам, вроде работало):

#ifndef VRCLIENT_H
#define VRCLIENT_H

class QString;

enum VR_PLAYTTS_T {
    Type1, // Whats mean types?
    Type2,
    Type3
};

class VRClient
{
public:
    VRClient();
    static int VR_startVR(void); /* Maybe this is VR init?
    For example, if "vr" daemon don't runing, this method run "vr" */

    static int VR_TTS_play_Text(const QString &, VR_PLAYTTS_T); // Play text in QString

    static void VR_interruptVR(void); // Stop VR playing?
    static void VR_interruptVR_ToIdle(void); // Stop VR playing?

    static VR_PLAYTTS_T VR_getVRType(void); // Get VR_PLAYTTS_T
    static int getTTSVolumn(void); // Get System Volume?
    static int VR_getVRlangType(void); // Get speaking language?

    static int SDVR_training(QString &); // Unknown. Why don't const?
    static int SDVR_confirmTraining(const QString &); // Unknown

    // What's VoiceTag? Maybe if dude speak "camera" - phone run camera app,
    // i.e "camera" - is "voicetag"?
    // also then VR_startVR() - start listen voicetags?
    static int SDVR_playVoiceTag(const QString &);
    static int SDVR_deleteVoiceTag(const QString &);
    static int SDVR_deleteAllVoiceTag(void);

    ~VRClient();
};

#endif // VRCLIENT_H

Исходная версия EXL, :

ATT TTS

У меня в загашнике есть какая-то проприетарная TTS библиотека, но под ARMv6. Вот такие методы в ней есть (Header'а не было, пытался написать его сам, вроде работало):

#ifndef VRCLIENT_H
#define VRCLIENT_H

class QString;

enum VR_PLAYTTS_T {
    Type1, // Whats mean types?
    Type2,
    Type3
};

class VRClient
{
public:
    VRClient();
    static int VR_startVR(void); /* Maybe this is VR init?
    For example, if "vr" daemon don't runing, this method run "vr" */

    static int VR_TTS_play_Text(const QString &, VR_PLAYTTS_T); // Play text in QString

    static void VR_interruptVR(void); // Stop VR playing?
    static void VR_interruptVR_ToIdle(void); // Stop VR playing?

    static VR_PLAYTTS_T VR_getVRType(void); // Get VR_PLAYTTS_T
    static int getTTSVolumn(void); // Get System Volume?
    static int VR_getVRlangType(void); // Get speaking language?

    static int SDVR_training(QString &); // Unknown. Why don't const?
    static int SDVR_confirmTraining(const QString &); // Unknown

    // What's VoiceTag? Maybe if dude speak "camera" - phone run camera app,
    // i.e "camera" - is "voicetag"?
    // also then VR_startVR() - start listen voicetags?
    static int SDVR_playVoiceTag(const QString &);
    static int SDVR_deleteVoiceTag(const QString &);
    static int SDVR_deleteAllVoiceTag(void);

    ~VRClient();
};

#endif // VRCLIENT_H