Searched refs:mAudioFormat (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAudioConfig.java | 33 private final int mAudioFormat; field in BluetoothAudioConfig 38 mAudioFormat = audioFormat; in BluetoothAudioConfig() 47 bac.mAudioFormat == mAudioFormat); in equals() 54 return mSampleRate | (mChannelConfig << 24) | (mAudioFormat << 28); in hashCode() 60 + ",mAudioFormat:" + mAudioFormat + "}"; in toString() 83 out.writeInt(mAudioFormat); in writeToParcel() 109 return mAudioFormat; in getAudioFormat()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AAudioStreamParameters.cpp | 42 mAudioFormat = other.mAudioFormat; in copyFrom() 69 switch (mAudioFormat) { in validate() 75 ALOGE("AAudioStreamParameters: audioFormat not valid = %d", mAudioFormat); in validate() 109 ALOGD("AAudioStreamParameters mAudioFormat = %d", (int)mAudioFormat); in dump()
|
D | AAudioStreamParameters.h | 60 return mAudioFormat; in getFormat() 64 mAudioFormat = audioFormat; in setFormat() 110 aaudio_format_t mAudioFormat = AAUDIO_FORMAT_UNSPECIFIED; variable
|
/frameworks/base/core/java/android/speech/tts/ |
D | BlockingAudioTrack.java | 50 private final int mAudioFormat; field in BlockingAudioTrack 82 mAudioFormat = audioFormat; in BlockingAudioTrack() 85 mBytesPerFrame = AudioFormat.getBytesPerSample(mAudioFormat) * mChannelCount; in BlockingAudioTrack() 214 = AudioTrack.getMinBufferSize(mSampleRateInHz, channelConfig, mAudioFormat); in createStreamingAudioTrack() 219 .setEncoding(mAudioFormat) in createStreamingAudioTrack()
|
D | FileSynthesisCallback.java | 44 private int mAudioFormat; field in FileSynthesisCallback 132 mAudioFormat = audioFormat; in start() 228 audioFormat = mAudioFormat; in done()
|
/frameworks/base/media/java/android/media/ |
D | AudioTrack.java | 357 private int mAudioFormat; // initialized by all constructors via audioParamCheck() field in AudioTrack 603 sampleRate, mChannelMask, mChannelIndexMask, mAudioFormat, in AudioTrack() 615 if (AudioFormat.isEncodingLinearFrames(mAudioFormat)) { in AudioTrack() 616 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in AudioTrack() 1079 mAudioFormat = audioFormat; in audioParamCheck() 1084 ((mode != MODE_STREAM) && !AudioFormat.isEncodingLinearPcm(mAudioFormat))) { in audioParamCheck() 1145 if (AudioFormat.isEncodingLinearFrames(mAudioFormat)) { in audioBuffSizeCheck() 1146 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in audioBuffSizeCheck() 1241 return mAudioFormat; in getAudioFormat() 1277 .setEncoding(mAudioFormat); in getFormat() [all …]
|
D | AudioRecord.java | 195 private int mAudioFormat; field in AudioRecord 383 mAudioFormat, mNativeBufferSizeInBytes, in AudioRecord() 698 mAudioFormat = AudioFormat.ENCODING_PCM_16BIT; in audioParamCheck() 703 mAudioFormat = audioFormat; in audioParamCheck() 723 * (AudioFormat.getBytesPerSample(mAudioFormat)); in audioBuffSizeCheck() 784 return mAudioFormat; in getAudioFormat() 808 .setEncoding(mAudioFormat); in getFormat() 1099 if (mState != STATE_INITIALIZED || mAudioFormat == AudioFormat.ENCODING_PCM_FLOAT) { in read() 1171 if (mState != STATE_INITIALIZED || mAudioFormat == AudioFormat.ENCODING_PCM_FLOAT) { in read() 1223 if (mAudioFormat != AudioFormat.ENCODING_PCM_FLOAT) { in read()
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerDetector.java | 117 private final AudioFormat mAudioFormat; field in SoundTriggerDetector.EventPayload 127 mAudioFormat = audioFormat; in EventPayload() 137 return mAudioFormat; in getCaptureAudioFormat()
|
/frameworks/base/core/java/android/service/voice/ |
D | AlwaysOnHotwordDetector.java | 212 private final AudioFormat mAudioFormat; field in AlwaysOnHotwordDetector.EventPayload 222 mAudioFormat = audioFormat; in EventPayload() 232 return mAudioFormat; in getCaptureAudioFormat()
|