Package com.viam.component.audioinput.v1
Interface Audioinput.AudioChunkOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Audioinput.AudioChunk
,Audioinput.AudioChunk.Builder
- Enclosing class:
- Audioinput
public static interface Audioinput.AudioChunkOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getData
com.google.protobuf.ByteString getData()Data is PCM data that is organized according to the sample format along with its possible interleaving. Data in each format is Little Endian.
bytes data = 1 [json_name = "data"];
- Returns:
- The data.
-
getLength
int getLength()Length is the number of samples
uint32 length = 2 [json_name = "length"];
- Returns:
- The length.
-