Searched refs:sizeInFloats (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 1081 public int read(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, in read() argument 1098 if ((audioData == null) || (offsetInFloats < 0) || (sizeInFloats < 0) in read() 1099 || (offsetInFloats + sizeInFloats < 0) // detect integer overflow in read() 1100 || (offsetInFloats + sizeInFloats > audioData.length)) { in read() 1104 return native_read_in_float_array(audioData, offsetInFloats, sizeInFloats, in read() 1548 int offsetInFloats, int sizeInFloats, boolean isBlocking); in native_read_in_float_array() argument
|
D | AudioTrack.java | 1915 public int write(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, in write() argument 1933 if ( (audioData == null) || (offsetInFloats < 0 ) || (sizeInFloats < 0) in write() 1934 || (offsetInFloats + sizeInFloats < 0) // detect integer overflow in write() 1935 || (offsetInFloats + sizeInFloats > audioData.length)) { in write() 1940 int ret = native_write_float(audioData, offsetInFloats, sizeInFloats, mAudioFormat, in write() 2539 int offsetInFloats, int sizeInFloats, int format, in native_write_float() argument
|