Searched refs:bufferSizeInBytes (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | AudioTrack.java | 455 int bufferSizeInBytes, int mode) in AudioTrack() argument 458 bufferSizeInBytes, mode, AudioManager.AUDIO_SESSION_ID_GENERATE); in AudioTrack() 513 int bufferSizeInBytes, int mode, int sessionId) in AudioTrack() argument 524 bufferSizeInBytes, in AudioTrack() local 559 public AudioTrack(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, in AudioTrack() argument 562 this(attributes, format, bufferSizeInBytes, mode, sessionId, false /*offload*/); in AudioTrack() 565 private AudioTrack(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, in AudioTrack() argument 576 if (shouldEnablePowerSaving(mAttributes, format, bufferSizeInBytes, mode)) { in AudioTrack() 615 audioBuffSizeCheck(bufferSizeInBytes); in AudioTrack() 825 public @NonNull Builder setBufferSizeInBytes(int bufferSizeInBytes) in setBufferSizeInBytes() argument [all …]
|
D | AudioRecord.java | 282 int bufferSizeInBytes) in AudioRecord() argument 293 bufferSizeInBytes, in AudioRecord() local 318 public AudioRecord(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, in AudioRecord() argument 380 audioBuffSizeCheck(bufferSizeInBytes); in AudioRecord() 563 public Builder setBufferSizeInBytes(int bufferSizeInBytes) throws IllegalArgumentException { in setBufferSizeInBytes() argument 564 if (bufferSizeInBytes <= 0) { in setBufferSizeInBytes() 565 throw new IllegalArgumentException("Invalid buffer size " + bufferSizeInBytes); in setBufferSizeInBytes() 567 mBufferSizeInBytes = bufferSizeInBytes; in setBufferSizeInBytes()
|
/frameworks/base/core/java/android/speech/tts/ |
D | BlockingAudioTrack.java | 215 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/av/media/libmediaplayer2/ |
D | JAudioTrack.cpp | 48 int bufferSizeInBytes = 0; in JAudioTrack() local 51 bufferSizeInBytes = audio_channel_count_from_out_mask(channelMask) in JAudioTrack() 57 bufferSizeInBytes = env->CallStaticIntMethod(mAudioTrackCls, jGetMinBufferSize, in JAudioTrack() 60 bufferSizeInBytes = (int) (bufferSizeInBytes * maxRequiredSpeed); in JAudioTrack() 79 jBuilderObj = env->CallObjectMethod(jBuilderObj, jSetBufferSizeInBytes, bufferSizeInBytes); in JAudioTrack()
|
/frameworks/base/media/java/android/media/projection/ |
D | MediaProjection.java | 148 int audioFormat, int bufferSizeInBytes) { in createAudioRecord() argument
|
/frameworks/base/media/jni/ |
D | android_media_MediaPlayer2.cpp | 1453 size_t bufferSizeInBytes; in android_media_MediaPlayer2_native_on_stream_data_request() local 1455 bufferSizeInBytes = in android_media_MediaPlayer2_native_on_stream_data_request() 1459 bufferSizeInBytes = bufferSizeInFrames; in android_media_MediaPlayer2_native_on_stream_data_request() 1462 uint8_t* byteBuffer = new uint8_t[bufferSizeInBytes]; in android_media_MediaPlayer2_native_on_stream_data_request() 1463 buffer->mSize = bufferSizeInBytes; in android_media_MediaPlayer2_native_on_stream_data_request()
|