Język

ChannelIn Enum

Definition

Enumerates values returned by several types and taken as a parameter of several types.

public enum ChannelIn
type ChannelIn = 
Inheritance
ChannelIn

Fields

Name Value Description
None 0

Zero input-channel mask, with no channel bits set rather than a request for the default layout.

Default 1

Default input configuration, mapped to mono by Android API 37.2 recorder constructors.

Left 4

Lower-order channel bit in the stereo input mask, paired with Right.

Right 8

Higher-order channel bit in the stereo input mask, paired with Left.

Stereo 12

Two-channel recording mask formed by combining the left and right input bits.

Front 16

Input-channel bit used for mono recording and as one component of the two-channel front/back layout.

Mono 16

Single-channel recording mask using the front input-channel bit.

Back 32

Input-channel component combined with Front for the two-channel front/back recording layout.

LeftProcessed 64

Processed-left component included in Android's native six-channel input mask. Android API 37.2 recorder constructors reject it as a standalone configuration.

RightProcessed 128

Processed-right component included in Android's native six-channel input mask. Android API 37.2 recorder constructors reject it as a standalone configuration.

FrontProcessed 256

Input-channel mask bit with the same value as the native Android AUDIO_CHANNEL_IN_FRONT_PROCESSED channel. In Android API 37.2, AudioRecord constructors reject channel masks that contain this bit.

BackProcessed 512

Input-channel mask bit with the same value as the native Android AUDIO_CHANNEL_IN_BACK_PROCESSED channel. In Android API 37.2, AudioRecord constructors reject channel masks that contain this bit.

Pressure 1024

Input-channel mask bit with the same value as the native Android AUDIO_CHANNEL_IN_PRESSURE channel. In Android API 37.2, AudioRecord constructors reject channel masks that contain this bit.

XAxis 2048

Input-channel mask bit with the same value as the native Android AUDIO_CHANNEL_IN_X_AXIS channel. In Android API 37.2, AudioRecord constructors reject channel masks that contain this bit.

YAxis 4096

Input-channel mask bit with the same value as the native Android AUDIO_CHANNEL_IN_Y_AXIS channel. In Android API 37.2, AudioRecord constructors reject channel masks that contain this bit.

ZAxis 8192

Input-channel mask bit with the same value as the native Android AUDIO_CHANNEL_IN_Z_AXIS channel. In Android API 37.2, AudioRecord constructors reject channel masks that contain this bit.

16384

Input bit combined with the mono mask in Android's native voice-uplink mono layout.

32768

Input bit combined with the mono mask in Android's native voice-downlink mono layout.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to