-
- All Implemented Interfaces:
-
com.otaliastudios.cameraview.controls.Control
public enum AudioCodec implements Control
Constants for selecting the encoder of audio recordings. https://developer.android.com/guide/topics/media/media-formats.html#audio-formats
-
-
Field Summary
Fields Modifier and Type Field Description final static AudioCodecDEFAULT
-
Constructor Summary
Constructors Constructor Description AudioCodec(int value)
-
Enum Constant Summary
Enum Constants Enum Constant Description DEVICE_DEFAULTLet the device choose its codec.
AACThe AAC codec.
HE_AACThe HE_AAC codec.
AAC_ELDThe AAC_ELD codec.
-
Method Summary
Modifier and Type Method Description intvalue()static AudioCodecfromValue(int value)static Array<AudioCodec>values()static AudioCodecvalueOf(String name)-
-
Method Detail
-
value
int value()
-
fromValue
@NonNull() static AudioCodec fromValue(int value)
-
values
static Array<AudioCodec> values()
-
valueOf
static AudioCodec valueOf(String name)
-
-
-
-