tts

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SynthesisCallbackClient

type SynthesisCallbackClient struct {
	// contains filtered or unexported fields
}

SynthesisCallbackClient wraps the gRPC SynthesisCallbackService client.

func NewSynthesisCallbackClient

func NewSynthesisCallbackClient(cc grpc.ClientConnInterface) *SynthesisCallbackClient

NewSynthesisCallbackClient creates a new SynthesisCallback client.

func (*SynthesisCallbackClient) AudioAvailable

func (c *SynthesisCallbackClient) AudioAvailable(ctx context.Context, arg0 int64, arg1 int32, arg2 int32) (int32, error)

AudioAvailable calls the AudioAvailable RPC.

func (*SynthesisCallbackClient) Done

Done calls the Done RPC.

func (*SynthesisCallbackClient) Error0

Error0 calls the Error0 RPC.

func (*SynthesisCallbackClient) Error1_1

func (c *SynthesisCallbackClient) Error1_1(ctx context.Context, arg0 int32) error

Error1_1 calls the Error1_1 RPC.

func (*SynthesisCallbackClient) GetMaxBufferSize

func (c *SynthesisCallbackClient) GetMaxBufferSize(ctx context.Context) (int32, error)

GetMaxBufferSize calls the GetMaxBufferSize RPC.

func (*SynthesisCallbackClient) HasFinished

func (c *SynthesisCallbackClient) HasFinished(ctx context.Context) (bool, error)

HasFinished calls the HasFinished RPC.

func (*SynthesisCallbackClient) HasStarted

func (c *SynthesisCallbackClient) HasStarted(ctx context.Context) (bool, error)

HasStarted calls the HasStarted RPC.

func (*SynthesisCallbackClient) Start

func (c *SynthesisCallbackClient) Start(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) (int32, error)

Start calls the Start RPC.

type SynthesisRequestClient

type SynthesisRequestClient struct {
	// contains filtered or unexported fields
}

SynthesisRequestClient wraps the gRPC SynthesisRequestService client.

func NewSynthesisRequestClient

func NewSynthesisRequestClient(cc grpc.ClientConnInterface) *SynthesisRequestClient

NewSynthesisRequestClient creates a new SynthesisRequest client.

func (*SynthesisRequestClient) GetCallerUid

func (c *SynthesisRequestClient) GetCallerUid(ctx context.Context, handle int64) (int32, error)

GetCallerUid calls the GetCallerUid RPC.

func (*SynthesisRequestClient) GetCharSequenceText

func (c *SynthesisRequestClient) GetCharSequenceText(ctx context.Context, handle int64) (int64, error)

GetCharSequenceText calls the GetCharSequenceText RPC.

func (*SynthesisRequestClient) GetCountry

func (c *SynthesisRequestClient) GetCountry(ctx context.Context, handle int64) (string, error)

GetCountry calls the GetCountry RPC.

func (*SynthesisRequestClient) GetLanguage

func (c *SynthesisRequestClient) GetLanguage(ctx context.Context, handle int64) (string, error)

GetLanguage calls the GetLanguage RPC.

func (*SynthesisRequestClient) GetParams

func (c *SynthesisRequestClient) GetParams(ctx context.Context, handle int64) (int64, error)

GetParams calls the GetParams RPC.

func (*SynthesisRequestClient) GetPitch

func (c *SynthesisRequestClient) GetPitch(ctx context.Context, handle int64) (int32, error)

GetPitch calls the GetPitch RPC.

func (*SynthesisRequestClient) GetSpeechRate

func (c *SynthesisRequestClient) GetSpeechRate(ctx context.Context, handle int64) (int32, error)

GetSpeechRate calls the GetSpeechRate RPC.

func (*SynthesisRequestClient) GetText

func (c *SynthesisRequestClient) GetText(ctx context.Context, handle int64) (string, error)

GetText calls the GetText RPC.

func (*SynthesisRequestClient) GetVariant

func (c *SynthesisRequestClient) GetVariant(ctx context.Context, handle int64) (string, error)

GetVariant calls the GetVariant RPC.

func (*SynthesisRequestClient) GetVoiceName

func (c *SynthesisRequestClient) GetVoiceName(ctx context.Context, handle int64) (string, error)

GetVoiceName calls the GetVoiceName RPC.

type TextToSpeechServiceClient

type TextToSpeechServiceClient struct {
	// contains filtered or unexported fields
}

TextToSpeechServiceClient wraps the gRPC TextToSpeechServiceService client.

func NewTextToSpeechServiceClient

func NewTextToSpeechServiceClient(cc grpc.ClientConnInterface) *TextToSpeechServiceClient

NewTextToSpeechServiceClient creates a new TextToSpeechService client.

func (*TextToSpeechServiceClient) OnBind

func (c *TextToSpeechServiceClient) OnBind(ctx context.Context, arg0 int64) (int64, error)

OnBind calls the OnBind RPC.

func (*TextToSpeechServiceClient) OnCreate

OnCreate calls the OnCreate RPC.

func (*TextToSpeechServiceClient) OnDestroy

func (c *TextToSpeechServiceClient) OnDestroy(ctx context.Context) error

OnDestroy calls the OnDestroy RPC.

func (*TextToSpeechServiceClient) OnGetDefaultVoiceNameFor

func (c *TextToSpeechServiceClient) OnGetDefaultVoiceNameFor(ctx context.Context, arg0 string, arg1 string, arg2 string) (string, error)

OnGetDefaultVoiceNameFor calls the OnGetDefaultVoiceNameFor RPC.

func (*TextToSpeechServiceClient) OnGetVoices

func (c *TextToSpeechServiceClient) OnGetVoices(ctx context.Context) (int64, error)

OnGetVoices calls the OnGetVoices RPC.

func (*TextToSpeechServiceClient) OnIsValidVoiceName

func (c *TextToSpeechServiceClient) OnIsValidVoiceName(ctx context.Context, arg0 string) (int32, error)

OnIsValidVoiceName calls the OnIsValidVoiceName RPC.

func (*TextToSpeechServiceClient) OnLoadVoice

func (c *TextToSpeechServiceClient) OnLoadVoice(ctx context.Context, arg0 string) (int32, error)

OnLoadVoice calls the OnLoadVoice RPC.

type UtteranceProgressListenerClient

type UtteranceProgressListenerClient struct {
	// contains filtered or unexported fields
}

UtteranceProgressListenerClient wraps the gRPC UtteranceProgressListenerService client.

func NewUtteranceProgressListenerClient

func NewUtteranceProgressListenerClient(cc grpc.ClientConnInterface) *UtteranceProgressListenerClient

NewUtteranceProgressListenerClient creates a new UtteranceProgressListener client.

func (*UtteranceProgressListenerClient) OnAudioAvailable

func (c *UtteranceProgressListenerClient) OnAudioAvailable(ctx context.Context, arg0 string, arg1 int64) error

OnAudioAvailable calls the OnAudioAvailable RPC.

func (*UtteranceProgressListenerClient) OnBeginSynthesis

func (c *UtteranceProgressListenerClient) OnBeginSynthesis(ctx context.Context, arg0 string, arg1 int32, arg2 int32, arg3 int32) error

OnBeginSynthesis calls the OnBeginSynthesis RPC.

func (*UtteranceProgressListenerClient) OnDone

OnDone calls the OnDone RPC.

func (*UtteranceProgressListenerClient) OnError1

OnError1 calls the OnError1 RPC.

func (*UtteranceProgressListenerClient) OnError2_1

func (c *UtteranceProgressListenerClient) OnError2_1(ctx context.Context, arg0 string, arg1 int32) error

OnError2_1 calls the OnError2_1 RPC.

func (*UtteranceProgressListenerClient) OnRangeStart

func (c *UtteranceProgressListenerClient) OnRangeStart(ctx context.Context, arg0 string, arg1 int32, arg2 int32, arg3 int32) error

OnRangeStart calls the OnRangeStart RPC.

func (*UtteranceProgressListenerClient) OnStart

OnStart calls the OnStart RPC.

func (*UtteranceProgressListenerClient) OnStop

func (c *UtteranceProgressListenerClient) OnStop(ctx context.Context, arg0 string, arg1 bool) error

OnStop calls the OnStop RPC.

type VoiceClient

type VoiceClient struct {
	// contains filtered or unexported fields
}

VoiceClient wraps the gRPC VoiceService client.

func NewVoiceClient

func NewVoiceClient(cc grpc.ClientConnInterface) *VoiceClient

NewVoiceClient creates a new Voice client.

func (*VoiceClient) DescribeContents

func (c *VoiceClient) DescribeContents(ctx context.Context, handle int64) (int32, error)

DescribeContents calls the DescribeContents RPC.

func (*VoiceClient) Equals

func (c *VoiceClient) Equals(ctx context.Context, handle int64, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*VoiceClient) GetFeatures

func (c *VoiceClient) GetFeatures(ctx context.Context, handle int64) (int64, error)

GetFeatures calls the GetFeatures RPC.

func (*VoiceClient) GetLatency

func (c *VoiceClient) GetLatency(ctx context.Context, handle int64) (int32, error)

GetLatency calls the GetLatency RPC.

func (*VoiceClient) GetLocale

func (c *VoiceClient) GetLocale(ctx context.Context, handle int64) (int64, error)

GetLocale calls the GetLocale RPC.

func (*VoiceClient) GetName

func (c *VoiceClient) GetName(ctx context.Context, handle int64) (string, error)

GetName calls the GetName RPC.

func (*VoiceClient) GetQuality

func (c *VoiceClient) GetQuality(ctx context.Context, handle int64) (int32, error)

GetQuality calls the GetQuality RPC.

func (*VoiceClient) HashCode

func (c *VoiceClient) HashCode(ctx context.Context, handle int64) (int32, error)

HashCode calls the HashCode RPC.

func (*VoiceClient) IsNetworkConnectionRequired

func (c *VoiceClient) IsNetworkConnectionRequired(ctx context.Context, handle int64) (bool, error)

IsNetworkConnectionRequired calls the IsNetworkConnectionRequired RPC.

func (*VoiceClient) ToString

func (c *VoiceClient) ToString(ctx context.Context, handle int64) (string, error)

ToString calls the ToString RPC.

func (*VoiceClient) WriteToParcel

func (c *VoiceClient) WriteToParcel(ctx context.Context, handle int64, arg0 int64, arg1 int32) error

WriteToParcel calls the WriteToParcel RPC.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL