Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioRecord.java276 int bufferSizeInBytes) in AudioRecord() argument
287 bufferSizeInBytes, in AudioRecord() local
312 public AudioRecord(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, in AudioRecord() argument
374 audioBuffSizeCheck(bufferSizeInBytes); in AudioRecord()
557 public Builder setBufferSizeInBytes(int bufferSizeInBytes) throws IllegalArgumentException { in setBufferSizeInBytes() argument
558 if (bufferSizeInBytes <= 0) { in setBufferSizeInBytes()
559 throw new IllegalArgumentException("Invalid buffer size " + bufferSizeInBytes); in setBufferSizeInBytes()
561 mBufferSizeInBytes = bufferSizeInBytes; in setBufferSizeInBytes()
DAudioTrack.java364 int bufferSizeInBytes, int mode) in AudioTrack() argument
367 bufferSizeInBytes, mode, AudioManager.AUDIO_SESSION_ID_GENERATE); in AudioTrack()
419 int bufferSizeInBytes, int mode, int sessionId) in AudioTrack() argument
430 bufferSizeInBytes, in AudioTrack() local
464 public AudioTrack(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, in AudioTrack() argument
505 audioBuffSizeCheck(bufferSizeInBytes); in AudioTrack()
696 public @NonNull Builder setBufferSizeInBytes(int bufferSizeInBytes) in setBufferSizeInBytes() argument
698 if (bufferSizeInBytes <= 0) { in setBufferSizeInBytes()
699 throw new IllegalArgumentException("Invalid buffer size " + bufferSizeInBytes); in setBufferSizeInBytes()
701 mBufferSizeInBytes = bufferSizeInBytes; in setBufferSizeInBytes()
/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/base/media/java/android/media/projection/
DMediaProjection.java147 int audioFormat, int bufferSizeInBytes) { in createAudioRecord() argument