Searched defs:offsetInBytes (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/jni/ |
H A D | android_media_AudioRecord.cpp | 357 jint offsetInBytes, jint sizeInBytes) { 385 ssize_t readSize = lpRecorder->read(recordBuff + offsetInBytes, 355 android_media_AudioRecord_readInByteArray(JNIEnv *env, jobject thiz, jbyteArray javaAudioData, jint offsetInBytes, jint sizeInBytes) argument
|
H A D | android_media_AudioTrack.cpp | 511 jint offsetInBytes, jint sizeInBytes) { 516 written = track->write(data + offsetInBytes, sizeInBytes); 527 memcpy(track->sharedBuffer()->pointer(), data + offsetInBytes, sizeInBytes); 539 const int8_t *src = (const int8_t *)(data + offsetInBytes); 555 jint offsetInBytes, jint sizeInBytes, 558 // offsetInBytes, sizeInBytes); 583 jint written = writeToTrack(lpTrack, javaAudioFormat, cAudioData, offsetInBytes, sizeInBytes); 588 // (int)written, (int)(sizeInBytes), (int)offsetInBytes); 510 writeToTrack(const sp<AudioTrack>& track, jint audioFormat, jbyte* data, jint offsetInBytes, jint sizeInBytes) argument 553 android_media_AudioTrack_native_write_byte(JNIEnv *env, jobject thiz, jbyteArray javaAudioData, jint offsetInBytes, jint sizeInBytes, jint javaAudioFormat) argument
|
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 564 * @param offsetInBytes index in audioData from which the data is written expressed in bytes. 571 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes) { argument 576 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) 577 || (offsetInBytes + sizeInBytes < 0) // detect integer overflow 578 || (offsetInBytes + sizeInBytes > audioData.length)) { 582 return native_read_in_byte_array(audioData, offsetInBytes, sizeInBytes); 815 int offsetInBytes, int sizeInBytes); 814 native_read_in_byte_array(byte[] audioData, int offsetInBytes, int sizeInBytes) argument
|
H A D | AudioTrack.java | 1063 * @param offsetInBytes the offset expressed in bytes in audioData where the data to play 1071 public int write(byte[] audioData, int offsetInBytes, int sizeInBytes) { argument 1077 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) 1078 || (offsetInBytes + sizeInBytes < 0) // detect integer overflow 1079 || (offsetInBytes + sizeInBytes > audioData.length)) { 1083 int ret = native_write_byte(audioData, offsetInBytes, sizeInBytes, mAudioFormat); 1338 int offsetInBytes, int sizeInBytes, int format); 1337 native_write_byte(byte[] audioData, int offsetInBytes, int sizeInBytes, int format) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | ShaderProgram.java | 156 int offsetInBytes, 163 offsetInBytes, 298 int offsetInBytes, 151 setAttributeValues(String attributeName, VertexFrame vertexData, int type, int componentCount, int strideInBytes, int offsetInBytes, boolean normalize) argument 293 setShaderAttributeVertexFrame(String attributeName, VertexFrame vertexData, int type, int componentCount, int strideInBytes, int offsetInBytes, boolean normalize) argument
|
Completed in 365 milliseconds