Home
last modified time | relevance | path

Searched refs:bufferSizeInBytes (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java215 int bufferSizeInBytes = Math.max(MIN_AUDIO_BUFFER_SIZE, minBufferSizeInBytes); in createStreamingAudioTrack() local
222 audioFormat, bufferSizeInBytes, AudioTrack.MODE_STREAM, in createStreamingAudioTrack()
231 mAudioBufferSize = bufferSizeInBytes; in createStreamingAudioTrack()
/frameworks/native/services/surfaceflinger/
DSurfaceTracing.h59 void setBufferSize(size_t bufferSizeInBytes) { mConfig.bufferSize = bufferSizeInBytes; } in setBufferSize() argument
/frameworks/base/media/java/android/media/
DAudioTrack.java640 int bufferSizeInBytes, int mode) in AudioTrack() argument
643 bufferSizeInBytes, mode, AudioManager.AUDIO_SESSION_ID_GENERATE); in AudioTrack()
698 int bufferSizeInBytes, int mode, int sessionId) in AudioTrack() argument
709 bufferSizeInBytes, in AudioTrack() local
744 public AudioTrack(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, in AudioTrack() argument
747 this(attributes, format, bufferSizeInBytes, mode, sessionId, false /*offload*/, in AudioTrack()
751 private AudioTrack(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, in AudioTrack() argument
765 if (shouldEnablePowerSaving(mAttributes, format, bufferSizeInBytes, mode)) { in AudioTrack()
805 audioBuffSizeCheck(bufferSizeInBytes); in AudioTrack()
1091 public @NonNull Builder setBufferSizeInBytes(@IntRange(from = 0) int bufferSizeInBytes) in setBufferSizeInBytes()
[all …]
DAudioRecord.java323 int bufferSizeInBytes) in AudioRecord() argument
334 bufferSizeInBytes, in AudioRecord() local
360 public AudioRecord(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, in AudioRecord() argument
362 this(attributes, format, bufferSizeInBytes, sessionId, in AudioRecord()
388 private AudioRecord(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, in AudioRecord() argument
451 audioBuffSizeCheck(bufferSizeInBytes); in AudioRecord()
692 public Builder setBufferSizeInBytes(int bufferSizeInBytes) throws IllegalArgumentException { in setBufferSizeInBytes() argument
693 if (bufferSizeInBytes <= 0) { in setBufferSizeInBytes()
694 throw new IllegalArgumentException("Invalid buffer size " + bufferSizeInBytes); in setBufferSizeInBytes()
696 mBufferSizeInBytes = bufferSizeInBytes; in setBufferSizeInBytes()