文档

​
​

Development

User Acquisition

Monetization

工业

Vivox Unreal SDK

Vivox Unreal SDK

此页面不支持所选语言。
Vivox
​
​
Vivox Unreal SDK
  • Overview
  • Get started
  • Release notes
  • Developer guide
  • Tutorials
  • Reference
    • Vivox Core Unreal class model overview
    • Vivox Unreal conventions
    • Unreal API Reference Manual
      • Class List
        • AccountId
        • Channel3DProperties
        • ChannelId
        • FVivoxCoreModule
        • IAudioDevice
        • IAudioDevices
        • IChannelConnectionState
        • IChannelSession
        • IChannelTextMessage
        • IClient
        • IDirectedTextMessage
        • ILoginSession
        • IParticipant
        • IParticipantProperties
        • IPresenceLocation
        • IPresenceSubscription
        • ITextMessage
        • ITextToSpeech
        • ITranscribedMessage
        • ITTSAudioBuffer
        • ITTSMessage
        • ITTSVoice
        • Presence
        • VivoxConfig
      • Deprecated List
    • Access Token Developer Guide
    • Server to Server Web API Reference Guide
    • Third-party license information
  1. Vivox Unreal SDK documentation

ITTSAudioBuffer

Reference the ITTSAudioBuffer interface for text-to-speech audio buffers.
阅读时间1 分钟
最后更新于 8 个月前

Text-to-speech that is synthesized into an audio buffer for direct use.
#include <ITTSAudioBuffer.h>

Public Functions

Name

virtual const short *SpeechBuffer() const =0
The PCM buffer of the synthesized speech.
virtual const int &SampleRate() const =0
The sample rate of audio in the buffer.
virtual const int &NumFrames() const =0
The number of frames of audio in the buffer.
virtual const int &NumChannels() const =0
The number of channels that the audio in the buffer consists of.
virtual boolIsEmpty() const =0
True if the speech buffer is not empty.

Public Functions Documentation

function SpeechBuffer

virtual const short * SpeechBuffer() const =0
The PCM buffer of the synthesized speech.

function SampleRate

virtual const int & SampleRate() const =0
The sample rate of audio in the buffer.

function NumFrames

virtual const int & NumFrames() const =0
The number of frames of audio in the buffer.

function NumChannels

virtual const int & NumChannels() const =0
The number of channels that the audio in the buffer consists of.

function IsEmpty

virtual bool IsEmpty() const =0
True if the speech buffer is not empty.

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • Public Functions

    • Public Functions Documentation

      • function SpeechBuffer

      • function SampleRate

      • function NumFrames

      • function NumChannels

      • function IsEmpty


报告此页面的问题