12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #ifndef CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_
- #define CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_
- #include <vector>
- #include "base/macros.h"
- #include "base/strings/string16.h"
- struct TtsUtteranceRequest {
- TtsUtteranceRequest();
- ~TtsUtteranceRequest();
- int id;
- std::string text;
- std::string lang;
- std::string voice;
- float volume;
- float rate;
- float pitch;
- };
- struct TtsVoice {
- TtsVoice();
- TtsVoice(const TtsVoice&);
- ~TtsVoice();
- std::string voice_uri;
- std::string name;
- std::string lang;
- bool local_service;
- bool is_default;
- };
- struct TtsUtteranceResponse {
- TtsUtteranceResponse();
- ~TtsUtteranceResponse();
- int id;
- };
- #endif
|