public sealed class StreamingAudioConfig : IMessage<StreamingAudioConfig>, IEquatable<StreamingAudioConfig>, IDeepCloneable<StreamingAudioConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Text-to-Speech v1beta1 API class StreamingAudioConfig.
Description of the desired output audio data.
Implements
IMessageStreamingAudioConfig, IEquatableStreamingAudioConfig, IDeepCloneableStreamingAudioConfig, IBufferMessage, IMessageNamespace
Google.Cloud.TextToSpeech.V1Beta1Assembly
Google.Cloud.TextToSpeech.V1Beta1.dll
Constructors
StreamingAudioConfig()
public StreamingAudioConfig()
StreamingAudioConfig(StreamingAudioConfig)
public StreamingAudioConfig(StreamingAudioConfig other)
Parameter | |
---|---|
Name | Description |
other |
StreamingAudioConfig |
Properties
AudioEncoding
public AudioEncoding AudioEncoding { get; set; }
Required. The format of the audio byte stream. For now, streaming only supports PCM and OGG_OPUS. All other encodings will return an error.
Property Value | |
---|---|
Type | Description |
AudioEncoding |
SampleRateHertz
public int SampleRateHertz { get; set; }
Optional. The synthesis sample rate (in hertz) for this audio.
Property Value | |
---|---|
Type | Description |
int |