Searched refs:sizeInFloats (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 1526 public int read(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, in read() argument 1543 if ((audioData == null) || (offsetInFloats < 0) || (sizeInFloats < 0) in read() 1544 || (offsetInFloats + sizeInFloats < 0) // detect integer overflow in read() 1545 || (offsetInFloats + sizeInFloats > audioData.length)) { in read() 1549 return native_read_in_float_array(audioData, offsetInFloats, sizeInFloats, in read() 2272 int offsetInFloats, int sizeInFloats, boolean isBlocking); in native_read_in_float_array() argument
|
D | AudioTrack.java | 3219 public int write(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, in write() argument 3237 if ( (audioData == null) || (offsetInFloats < 0 ) || (sizeInFloats < 0) in write() 3238 || (offsetInFloats + sizeInFloats < 0) // detect integer overflow in write() 3239 || (offsetInFloats + sizeInFloats > audioData.length)) { in write() 3248 final int ret = native_write_float(audioData, offsetInFloats, sizeInFloats, mAudioFormat, in write() 4280 int offsetInFloats, int sizeInFloats, int format, in native_write_float() argument
|