Home
last modified time | relevance | path

Searched refs:sizeInFloats (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioRecord.java1216 public int read(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, in read() argument
1233 if ((audioData == null) || (offsetInFloats < 0) || (sizeInFloats < 0) in read()
1234 || (offsetInFloats + sizeInFloats < 0) // detect integer overflow in read()
1235 || (offsetInFloats + sizeInFloats > audioData.length)) { in read()
1239 return native_read_in_float_array(audioData, offsetInFloats, sizeInFloats, in read()
1760 int offsetInFloats, int sizeInFloats, boolean isBlocking); in native_read_in_float_array() argument
DAudioTrack.java2356 public int write(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, in write() argument
2374 if ( (audioData == null) || (offsetInFloats < 0 ) || (sizeInFloats < 0) in write()
2375 || (offsetInFloats + sizeInFloats < 0) // detect integer overflow in write()
2376 || (offsetInFloats + sizeInFloats > audioData.length)) { in write()
2381 int ret = native_write_float(audioData, offsetInFloats, sizeInFloats, mAudioFormat, in write()
3077 int offsetInFloats, int sizeInFloats, int format, in native_write_float() argument