Searched refs:sizeInFloats (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 1314 public int read(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, in read() argument 1331 if ((audioData == null) || (offsetInFloats < 0) || (sizeInFloats < 0) in read() 1332 || (offsetInFloats + sizeInFloats < 0) // detect integer overflow in read() 1333 || (offsetInFloats + sizeInFloats > audioData.length)) { in read() 1337 return native_read_in_float_array(audioData, offsetInFloats, sizeInFloats, in read() 1947 int offsetInFloats, int sizeInFloats, boolean isBlocking); in native_read_in_float_array() argument
|
D | AudioTrack.java | 2682 public int write(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, in write() argument 2700 if ( (audioData == null) || (offsetInFloats < 0 ) || (sizeInFloats < 0) in write() 2701 || (offsetInFloats + sizeInFloats < 0) // detect integer overflow in write() 2702 || (offsetInFloats + sizeInFloats > audioData.length)) { in write() 2711 final int ret = native_write_float(audioData, offsetInFloats, sizeInFloats, mAudioFormat, in write() 3618 int offsetInFloats, int sizeInFloats, int format, in native_write_float() argument
|