예배 규칙서 찾다
android Manifest Manifest.permission Manifest.permission_group android.accessibilityservice AccessibilityService android.accounts Account android.app NotificationManager android.bluetooth BluetoothAdapter BluetoothClass BluetoothClass.Device BluetoothClass.Device.Major BluetoothClass.Service BluetoothDevice BluetoothServerSocket BluetoothSocket android.content SharedPreferences android.database.sqlite SQLiteCursorDriver SQLiteOpenHelper android.graphics Bitmap android.location LocationListener Geocoder GpsStatus GpsStatus.Listener GpsStatus.NmeaListener GpsSatellite android.media AudioFormat AsyncPlayer AudioRecord AudioRecord.OnRecordPositionUpdateListener ThumbnailUtils AudioManager android.net TrafficStats MailTo LocalSocket android.os AsyncTask AsyncTask.Status CountDownTimer Message MessageQueue HandlerThread android.text Html android.util JsonWriter android.view ContextMenu ContextMenu.ContextMenuInfo Display ViewManager View ViewStub ViewTreeObserver ViewParent WindowManager GestureDetector Gravity MenuInflater ScaleGestureDetector SoundEffectConstants android.view.inputmethod InputConnection InputMethod InputMethodSession BaseInputConnection InputMethodManager android.widget AbsListView AbsListView.LayoutParams AbsListView.OnScrollListener AbsListView.RecyclerListener AbsoluteLayout AbsoluteLayout.LayoutParams AbsSeekBar AbsSpinner AdapterView AdapterView.AdapterContextMenuInfo AdapterView.OnItemLongClickListener AdapterView.OnItemSelectedListener AdapterView.OnItemClickListener AnalogClock BaseAdapter BaseExpandableListAdapter Button CheckBox CheckedTextView Checkable Chronometer Chronometer.OnChronometerTickListener CompoundButton CompoundButton.OnCheckedChangeListener CursorAdapter CursorTreeAdapter DatePicker DatePicker.OnDateChangedListener DialerFilter DigitalClock EditText Filter Filter.FilterListener Filter.FilterResults ExpandableListAdapter ExpandableListView.OnChildClickListener ExpandableListView.OnGroupClickListener ExpandableListView.OnGroupCollapseListener ExpandableListView.OnGroupExpandListener Filterable Gallery Gallery.LayoutParams GridView GridLayout GridLayout.Alignment RadioGroup ImageView ImageView.ScaleType HorizontalScrollView ImageButton ImageSwitcher FilterQueryProvider ListAdapter ListView MediaController MultiAutoCompleteTextView MultiAutoCompleteTextView.CommaTokenizer MultiAutoCompleteTextView.Tokenizer QuickContactBadge RadioButton RatingBar RatingBar.OnRatingBarChangeListener RelativeLayout RemoteViews ResourceCursorAdapter ResourceCursorTreeAdapter Scroller ScrollView SearchView SearchView.OnCloseListener SearchView.OnQueryTextListener SearchView.OnSuggestionListener SeekBar SeekBar.OnSeekBarChangeListener SimpleAdapter SimpleAdapter.ViewBinder SimpleCursorAdapter SimpleCursorAdapter.CursorToStringConverter SimpleCursorAdapter.ViewBinder SimpleCursorTreeAdapter SimpleCursorTreeAdapter.ViewBinder SimpleExpandableListAdapter SlidingDrawer SlidingDrawer.OnDrawerCloseListener SlidingDrawer.OnDrawerOpenListener SlidingDrawer.OnDrawerScrollListener Spinner SpinnerAdapter WrapperListAdapter TabHost TabHost.TabSpec TextView TimePicker TimePicker.OnTimeChangedListener Toast TableLayout TableLayout.LayoutParams TableRow TableRow.LayoutParams TabWidget TextSwitcher ToggleButton TwoLineListItem VideoView ViewAnimator ViewFlipper ViewSwitcher ViewSwitcher.ViewFactory ZoomButtonsController ZoomButtonsController.OnZoomListener ZoomButton ZoomControls dalvik.system DexFile
문자


AudioFormat

版本:Android 3.0 r1

结构

继承关系

public class AudioFormat extends Object

java.lang.Object

android.media.AudioFormat

类概述

AndioFormat类用于访问一些音频格式和通道配置常量。这些常量应用在AudioTrackAudioRecord类中。

常量

public static final int CHANNEL_CONFIGURATION_DEFAULT

已弃用。

CHANNEL_OUT_DEFAULT or CHANNEL_IN_DEFAULT 代替。

常量值:1 (0x00000001)

public static final int CHANNEL_CONFIGURATION_INVALID

已弃用。

CHANNEL_INVALID 代替。

常量值: 0 (0x00000000)

public static final int CHANNEL_CONFIGURATION_MONO

已弃用。

CHANNEL_OUT_MONO or CHANNEL_IN_MONO 代替。

常量值: 2 (0x00000002)

public static final int CHANNEL_CONFIGURATION_STEREO

已弃用。

CHANNEL_OUT_STEREO or CHANNEL_IN_STEREO 代替。

常量值: 3 (0x00000003)

public static final int CHANNEL_INVALID

无效的音频通道掩码

常量值: 0 (0x00000000)

public static final int CHANNEL_IN_BACK

常量值: 32 (0x00000020)

public static final int CHANNEL_IN_BACK_PROCESSED

常量值: 512 (0x00000200)

public static final int CHANNEL_IN_DEFAULT

常量值: 1 (0x00000001)

public static final int CHANNEL_IN_FRONT

常量值: 16 (0x00000010)

public static final int CHANNEL_IN_FRONT_PROCESSED

常量值: 256 (0x00000100)

public static final int CHANNEL_IN_LEFT

常量值: 4 (0x00000004)

public static final int CHANNEL_IN_LEFT_PROCESSED

常量值: 64 (0x00000040)

public static final int CHANNEL_IN_MONO

常量值: 16 (0x00000010)

public static final int CHANNEL_IN_PRESSURE

常量值: 1024 (0x00000400)

public static final int CHANNEL_IN_RIGHT

常量值: 8 (0x00000008)

public static final int CHANNEL_IN_RIGHT_PROCESSED

常量值: 128 (0x00000080)

public static final int CHANNEL_IN_STEREO

常量值: 12 (0x0000000c)

public static final int CHANNEL_IN_VOICE_DNLINK

常量值: 32768 (0x00008000)

public static final int CHANNEL_IN_VOICE_UPLINK

常量值: 16384 (0x00004000)

public static final int CHANNEL_IN_X_AXIS

常量值: 2048 (0x00000800)

public static final int CHANNEL_IN_Y_AXIS

常量值: 4096 (0x00001000)

public static final int CHANNEL_IN_Z_AXIS

常量值: 8192 (0x00002000)

public static final int CHANNEL_OUT_5POINT1

常量值: 252 (0x000000fc)

public static final int CHANNEL_OUT_7POINT1

常量值: 1020 (0x000003fc)

public static final int CHANNEL_OUT_BACK_CENTER

常量值: 1024 (0x00000400)

public static final int CHANNEL_OUT_BACK_LEFT

常量值: 64 (0x00000040)

public static final int CHANNEL_OUT_BACK_RIGHT

常量值: 128 (0x00000080)

public static final int CHANNEL_OUT_DEFAULT

默认的音频通道掩码。

常量值: 1 (0x00000001)

public static final int CHANNEL_OUT_FRONT_CENTER

常量值: 16 (0x00000010)

public static final int CHANNEL_OUT_FRONT_LEFT

常量值: 4 (0x00000004)

public static final int CHANNEL_OUT_FRONT_LEFT_OF_CENTER

常量值: 256 (0x00000100)

public static final int CHANNEL_OUT_FRONT_RIGHT

常量值: 8 (0x00000008)

public static final int CHANNEL_OUT_FRONT_RIGHT_OF_CENTER

常量值: 512 (0x00000200)

public static final int CHANNEL_OUT_LOW_FREQUENCY

常量值: 32 (0x00000020)

public static final int CHANNEL_OUT_MONO

常量值: 4 (0x00000004)

public static final int CHANNEL_OUT_QUAD

常量值: 204 (0x000000cc)

public static final int CHANNEL_OUT_STEREO

常量值: 12 (0x0000000c)

public static final int CHANNEL_OUT_SURROUND

常量值: 1052 (0x0000041c)

public static final int ENCODING_DEFAULT

默认的音频数据格式

常量值: 1 (0x00000001)

public static final int ENCODING_INVALID

无效的音频数据格式

常量值: 0 (0x00000000)

public static final int ENCODING_PCM_16BIT

音频数据格式:脉冲编码调制(PCM)每个样品16位。设备保证提供支持。(参见:这里)

常量值: 2 (0x00000002)

public static final int ENCODING_PCM_8BIT

音频数据格式:脉冲编码调制(PCM)每个样品8位。设备不保证提供支持。

常量值: 3 (0x00000003)

补充

文章精选

Android 实时获取麦克风输入音量的代码


이전 기사: 다음 기사: