Package com.viam.component.audioinput.v1
Interface Audioinput.AudioChunkInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Audioinput.AudioChunkInfo,Audioinput.AudioChunkInfo.Builder
- Enclosing class:
- Audioinput
public static interface Audioinput.AudioChunkInfoOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintuint32 channels = 2 [json_name = "channels"];Actual sample encoding format of the responseintActual sample encoding format of the responselongint64 sampling_rate = 3 [json_name = "samplingRate"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getSampleFormatValue
int getSampleFormatValue()Actual sample encoding format of the response
.viam.component.audioinput.v1.SampleFormat sample_format = 1 [json_name = "sampleFormat"];- Returns:
- The enum numeric value on the wire for sampleFormat.
-
getSampleFormat
Audioinput.SampleFormat getSampleFormat()Actual sample encoding format of the response
.viam.component.audioinput.v1.SampleFormat sample_format = 1 [json_name = "sampleFormat"];- Returns:
- The sampleFormat.
-
getChannels
int getChannels()uint32 channels = 2 [json_name = "channels"];- Returns:
- The channels.
-
getSamplingRate
long getSamplingRate()int64 sampling_rate = 3 [json_name = "samplingRate"];- Returns:
- The samplingRate.
-