Home
last modified time | relevance | path

Searched refs:mAudioFormat (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothAudioConfig.java33 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/
DAAudioStreamParameters.cpp42 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()
DAAudioStreamParameters.h60 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/
DBlockingAudioTrack.java50 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()
DFileSynthesisCallback.java44 private int mAudioFormat; field in FileSynthesisCallback
132 mAudioFormat = audioFormat; in start()
228 audioFormat = mAudioFormat; in done()
/frameworks/base/media/java/android/media/
DAudioTrack.java357 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 …]
DAudioRecord.java195 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/
DSoundTriggerDetector.java117 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/
DAlwaysOnHotwordDetector.java212 private final AudioFormat mAudioFormat; field in AlwaysOnHotwordDetector.EventPayload
222 mAudioFormat = audioFormat; in EventPayload()
232 return mAudioFormat; in getCaptureAudioFormat()