/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 274 (new AudioFormat.Builder()) in AudioRecord() 305 public AudioRecord(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, in AudioRecord() 342 & AudioFormat.AUDIO_FORMAT_HAS_PROPERTY_SAMPLE_RATE) != 0) in AudioRecord() 352 int encoding = AudioFormat.ENCODING_DEFAULT; in AudioRecord() 353 if ((format.getPropertySetMask() & AudioFormat.AUDIO_FORMAT_HAS_PROPERTY_ENCODING) != 0) in AudioRecord() 361 & AudioFormat.AUDIO_FORMAT_HAS_PROPERTY_CHANNEL_INDEX_MASK) != 0) { in AudioRecord() 366 & AudioFormat.AUDIO_FORMAT_HAS_PROPERTY_CHANNEL_MASK) != 0) { in AudioRecord() 370 mChannelMask = getChannelMaskFromLegacyConfig(AudioFormat.CHANNEL_IN_DEFAULT, false); in AudioRecord() 371 mChannelCount = AudioFormat.channelCountFromInChannelMask(mChannelMask); in AudioRecord() 426 private AudioFormat mFormat; [all …]
|
D | AudioTrack.java | 266 private int mChannelMask = AudioFormat.CHANNEL_OUT_MONO; 287 private int mChannelConfiguration = AudioFormat.CHANNEL_OUT_MONO; 416 (new AudioFormat.Builder()) in AudioTrack() 445 public AudioTrack(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, in AudioTrack() 464 if ((format.getPropertySetMask() & AudioFormat.AUDIO_FORMAT_HAS_PROPERTY_SAMPLE_RATE) != 0) in AudioTrack() 475 & AudioFormat.AUDIO_FORMAT_HAS_PROPERTY_CHANNEL_INDEX_MASK) != 0) { in AudioTrack() 480 & AudioFormat.AUDIO_FORMAT_HAS_PROPERTY_CHANNEL_MASK) != 0) { in AudioTrack() 483 channelMask = AudioFormat.CHANNEL_OUT_FRONT_LEFT in AudioTrack() 484 | AudioFormat.CHANNEL_OUT_FRONT_RIGHT; in AudioTrack() 486 int encoding = AudioFormat.ENCODING_DEFAULT; in AudioTrack() [all …]
|
D | AudioFormat.java | 212 public class AudioFormat { class 516 public AudioFormat() in AudioFormat() method in AudioFormat 525 private AudioFormat(int ignoredArgument) { in AudioFormat() method in AudioFormat 533 private AudioFormat(int encoding, int sampleRate, int channelMask, int channelIndexMask) { in AudioFormat() method in AudioFormat 670 public Builder(AudioFormat af) { in Builder() 683 public AudioFormat build() { in build() 684 AudioFormat af = new AudioFormat(1980/*ignored*/); in build()
|
D | JetPlayer.java | 97 AudioFormat.CHANNEL_OUT_STEREO; // NUM_OUTPUT_CHANNELS=2 in Android.mk 165 JET_OUTPUT_CHANNEL_CONFIG, AudioFormat.ENCODING_PCM_16BIT); in JetPlayer() 175 (AudioFormat.getBytesPerSample(AudioFormat.ENCODING_PCM_16BIT) * in JetPlayer()
|
D | AudioDeviceInfo.java | 203 AudioFormat.channelCountFromOutChannelMask(mask) in getChannelCounts() 204 : AudioFormat.channelCountFromInChannelMask(mask)); in getChannelCounts() 233 return AudioFormat.filterPublicFormats(mPort.formats()); in getEncodings()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioTrackTest.java | 22 import android.media.AudioFormat; 120 _inTest_config, AudioFormat.ENCODING_PCM_16BIT) in constructorTestMultiSampleRate() 143 AudioFormat.CHANNEL_OUT_MONO, AudioFormat.ENCODING_PCM_16BIT, in testConstructorMono16MusicStream() 156 AudioFormat.CHANNEL_OUT_STEREO, AudioFormat.ENCODING_PCM_16BIT, in testConstructorStereo16MusicStream() 169 AudioFormat.CHANNEL_OUT_MONO, AudioFormat.ENCODING_PCM_16BIT, in testConstructorMono16MusicStatic() 182 AudioFormat.CHANNEL_OUT_STEREO, AudioFormat.ENCODING_PCM_16BIT, in testConstructorStereo16MusicStatic() 199 AudioFormat.CHANNEL_OUT_MONO, AudioFormat.ENCODING_PCM_8BIT, in testConstructorMono8MusicStream() 211 AudioFormat.CHANNEL_OUT_STEREO, AudioFormat.ENCODING_PCM_8BIT, in testConstructorStereo8MusicStream() 223 AudioFormat.CHANNEL_OUT_MONO, AudioFormat.ENCODING_PCM_8BIT, in testConstructorMono8MusicStatic() 235 AudioFormat.CHANNEL_OUT_STEREO, AudioFormat.ENCODING_PCM_8BIT, in testConstructorStereo8MusicStatic() [all …]
|
D | MediaAudioEffectTest.java | 23 import android.media.AudioFormat; 135 AudioFormat.CHANNEL_CONFIGURATION_MONO, in getAudioRecord() 136 AudioFormat.ENCODING_PCM_16BIT, in getAudioRecord() 138 AudioFormat.CHANNEL_CONFIGURATION_MONO, in getAudioRecord() 139 AudioFormat.ENCODING_PCM_16BIT) * 10); in getAudioRecord() 403 AudioFormat.CHANNEL_OUT_MONO, in test1_7AuxiliaryOnAudioTrack() 404 AudioFormat.ENCODING_PCM_16BIT, in test1_7AuxiliaryOnAudioTrack() 406 AudioFormat.CHANNEL_OUT_MONO, in test1_7AuxiliaryOnAudioTrack() 407 AudioFormat.ENCODING_PCM_16BIT), in test1_7AuxiliaryOnAudioTrack()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMix.java | 21 import android.media.AudioFormat; 35 private AudioFormat mFormat; 45 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags, int callbackFlags) { in AudioMix() 131 AudioFormat getFormat() { in getFormat() 172 private AudioFormat mFormat = null; 235 public Builder setFormat(AudioFormat format) in setFormat() 284 mFormat = new AudioFormat.Builder().setSampleRate(rate).build(); in build()
|
D | AudioPolicy.java | 26 import android.media.AudioFormat; 338 AudioFormat mixFormat = new AudioFormat.Builder(mix.getFormat()) in createAudioRecordSink() 339 .setChannelMask(AudioFormat.inChannelMaskFromOutChannelMask( in createAudioRecordSink() 351 AudioFormat.CHANNEL_IN_STEREO, mix.getFormat().getEncoding()), in createAudioRecordSink()
|
D | AudioPolicyConfig.java | 19 import android.media.AudioFormat; 111 final AudioFormat format = new AudioFormat.Builder().setSampleRate(sampleRate) in AudioPolicyConfig()
|
/frameworks/base/core/java/android/speech/tts/ |
D | BlockingAudioTrack.java | 5 import android.media.AudioFormat; 85 mBytesPerFrame = AudioFormat.getBytesPerSample(mAudioFormat) * mChannelCount; in BlockingAudioTrack() 176 return AudioFormat.CHANNEL_OUT_MONO; in getChannelConfig() 178 return AudioFormat.CHANNEL_OUT_STEREO; in getChannelConfig() 217 AudioFormat audioFormat = (new AudioFormat.Builder()) in createStreamingAudioTrack()
|
D | FileSynthesisCallback.java | 18 import android.media.AudioFormat; 281 int sampleSizeInBytes = AudioFormat.getBytesPerSample(audioFormat); in makeWavHeader()
|
/frameworks/base/media/java/android/media/audiofx/ |
D | Virtualizer.java | 21 import android.media.AudioFormat; 186 if (inputChannelMask == AudioFormat.CHANNEL_INVALID) { in getAnglesInt() 190 int channelMask = inputChannelMask == AudioFormat.CHANNEL_OUT_DEFAULT ? in getAnglesInt() 191 AudioFormat.CHANNEL_OUT_STEREO : inputChannelMask; in getAnglesInt() 192 int nbChannels = AudioFormat.channelCountFromOutChannelMask(channelMask); in getAnglesInt() 205 paramsConverter.putInt(AudioFormat.convertChannelOutMaskToNativeMask(channelMask)); in getAnglesInt() 225 angles[3 * i] = AudioFormat.convertNativeChannelMaskToOutMask( in getAnglesInt()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHardwareManager.java | 34 import android.media.AudioFormat; 680 private int mDesiredChannelMask = AudioFormat.CHANNEL_OUT_DEFAULT; 681 private int mDesiredFormat = AudioFormat.ENCODING_DEFAULT; 842 if (sinkChannelMask == AudioFormat.CHANNEL_OUT_DEFAULT) { in updateAudioConfigLocked() 845 if (sinkFormat == AudioFormat.ENCODING_DEFAULT) { in updateAudioConfigLocked() 860 sinkChannelMask = AudioFormat.CHANNEL_OUT_DEFAULT; in updateAudioConfigLocked() 863 sinkFormat = AudioFormat.ENCODING_DEFAULT; in updateAudioConfigLocked() 882 int sourceChannelMask = AudioFormat.CHANNEL_IN_DEFAULT; in updateAudioConfigLocked() 884 if (AudioFormat.channelCountFromOutChannelMask(sinkConfig.channelMask()) in updateAudioConfigLocked() 885 == AudioFormat.channelCountFromInChannelMask(inChannelMask)) { in updateAudioConfigLocked() [all …]
|
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/ |
D | SoundTriggerTest.java | 26 import android.media.AudioFormat; 270 (new AudioFormat.Builder()) in testRecognitionEventParcelUnparcel_largeAudioData() 271 .setChannelMask(AudioFormat.CHANNEL_IN_MONO) in testRecognitionEventParcelUnparcel_largeAudioData() 272 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in testRecognitionEventParcelUnparcel_largeAudioData()
|
/frameworks/base/core/java/android/service/voice/ |
D | AlwaysOnHotwordDetector.java | 34 import android.media.AudioFormat; 211 private final AudioFormat mAudioFormat; 217 AudioFormat audioFormat, int captureSession, byte[] data) { in EventPayload() 230 public AudioFormat getCaptureAudioFormat() { in getCaptureAudioFormat()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 19 import android.media.AudioFormat; 503 public AudioFormat captureFormat; 510 boolean triggerInData, AudioFormat captureFormat, byte[] data) { in RecognitionEvent() 541 AudioFormat captureFormat = null; in fromParcel() 546 captureFormat = (new AudioFormat.Builder()) in fromParcel() 908 boolean triggerInData, AudioFormat captureFormat, byte[] data, in KeyphraseRecognitionEvent() 934 AudioFormat captureFormat = null; in fromParcel() 939 captureFormat = (new AudioFormat.Builder()) in fromParcel()
|
/frameworks/base/api/ |
D | system-removed.txt | 29 public class AudioFormat { 30 ctor public AudioFormat();
|
D | removed.txt | 29 public class AudioFormat { 30 ctor public AudioFormat();
|
/frameworks/base/docs/html/sdk/api_diff/21/ |
D | missingSinces.txt | 14 NO DOC BLOCK: android.media.AudioFormat.Builder Class 157 …ia.AudioTrack Constructor (android.media.AudioAttributes, android.media.AudioFormat, int, int, int) 405 NO DOC BLOCK: android.media.AudioFormat Method getChannelMask() 443 NO DOC BLOCK: android.media.AudioFormat Method getEncoding() 540 NO DOC BLOCK: android.media.AudioFormat Method getSampleRate() 1170 NO DOC BLOCK: android.media.AudioFormat Field CHANNEL_OUT_SIDE_LEFT 1171 NO DOC BLOCK: android.media.AudioFormat Field CHANNEL_OUT_SIDE_RIGHT 1247 NO DOC BLOCK: android.media.AudioFormat Field ENCODING_AC3 1248 NO DOC BLOCK: android.media.AudioFormat Field ENCODING_E_AC3 1249 NO DOC BLOCK: android.media.AudioFormat Field ENCODING_PCM_FLOAT
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 58 import android.media.AudioFormat; 4939 int[] formats = AudioFormat.filterPublicFormats(devicePort.formats()); in configureHdmiPlugIntent() 4944 if (format != AudioFormat.ENCODING_INVALID) { in configureHdmiPlugIntent() 4957 int channelCount = AudioFormat.channelCountFromOutChannelMask(mask); in configureHdmiPlugIntent()
|
/frameworks/base/docs/html-intl/intl/ja/about/versions/ |
D | android-5.0.jd | 383 …<li>アプリから音声データを浮動小数点形式({@link android.media.AudioFormat#ENCODING_PCM_FLOAT ENCODING_PCM_FLOAT})で提供…
|
/frameworks/base/docs/html-intl/intl/ru/about/versions/ |
D | android-5.0.jd | 384 …едавать аудиоданные в формате с плавающей точкой ({@link android.media.AudioFormat#ENCODING_PCM_FL…
|
/frameworks/base/docs/html-intl/intl/zh-tw/about/versions/ |
D | android-5.0.jd | 383 …<li>您的應用程式現在可以透過浮點格式提供音訊資料 ({@link android.media.AudioFormat#ENCODING_PCM_FLOAT ENCODING_PCM_FLOAT…
|
/frameworks/base/docs/html-intl/intl/ko/about/versions/ |
D | android-5.0.jd | 384 …<li>이제 앱에서 부동 소수점 형식({@link android.media.AudioFormat#ENCODING_PCM_FLOAT ENCODING_PCM_FLOAT})으로 오디…
|