Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioRecord.java1215 public int read(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, in read() argument
1232 if ((audioData == null) || (offsetInFloats < 0) || (sizeInFloats < 0) in read()
1233 || (offsetInFloats + sizeInFloats < 0) // detect integer overflow in read()
1234 || (offsetInFloats + sizeInFloats > audioData.length)) { in read()
1238 return native_read_in_float_array(audioData, offsetInFloats, sizeInFloats, in read()
1759 int offsetInFloats, int sizeInFloats, boolean isBlocking); in native_read_in_float_array() argument
DAudioTrack.java2092 public int write(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, in write() argument
2110 if ( (audioData == null) || (offsetInFloats < 0 ) || (sizeInFloats < 0) in write()
2111 || (offsetInFloats + sizeInFloats < 0) // detect integer overflow in write()
2112 || (offsetInFloats + sizeInFloats > audioData.length)) { in write()
2117 int ret = native_write_float(audioData, offsetInFloats, sizeInFloats, mAudioFormat, in write()
2794 int offsetInFloats, int sizeInFloats, int format, in native_write_float() argument