Searched defs:sizeInShorts (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/core/jni/ |
H A D | android_media_AudioRecord.cpp | 405 jint offsetInShorts, jint sizeInShorts) { 434 const size_t sizeInBytes = sizeInShorts * sizeof(short); 403 android_media_AudioRecord_readInShortArray(JNIEnv *env, jobject thiz, jshortArray javaAudioData, jint offsetInShorts, jint sizeInShorts) argument
|
H A D | android_media_AudioTrack.cpp | 634 jint offsetInShorts, jint sizeInShorts, 637 //ALOGV("android_media_AudioTrack_write_short(offset=%d, sizeInShorts=%d) called", 638 // offsetInShorts, sizeInShorts); 663 offsetInShorts * sizeof(short), sizeInShorts * sizeof(short), 671 // (int)written, (int)(sizeInShorts), (int)offsetInShorts); 632 android_media_AudioTrack_write_short(JNIEnv *env, jobject thiz, jshortArray javaAudioData, jint offsetInShorts, jint sizeInShorts, jint javaAudioFormat) argument
|
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 709 * @param sizeInShorts the number of requested shorts. 713 * The number of shorts will not exceed sizeInShorts. 715 public int read(short[] audioData, int offsetInShorts, int sizeInShorts) { argument 720 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) 721 || (offsetInShorts + sizeInShorts < 0) // detect integer overflow 722 || (offsetInShorts + sizeInShorts > audioData.length)) { 726 return native_read_in_short_array(audioData, offsetInShorts, sizeInShorts); 939 int offsetInShorts, int sizeInShorts); 938 native_read_in_short_array(short[] audioData, int offsetInShorts, int sizeInShorts) argument
|
H A D | AudioTrack.java | 1281 * @param sizeInShorts the number of shorts to read in audioData after the offset. 1287 public int write(short[] audioData, int offsetInShorts, int sizeInShorts) { argument 1293 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) 1294 || (offsetInShorts + sizeInShorts < 0) // detect integer overflow 1295 || (offsetInShorts + sizeInShorts > audioData.length)) { 1299 int ret = native_write_short(audioData, offsetInShorts, sizeInShorts, mAudioFormat); 1656 int offsetInShorts, int sizeInShorts, int format); 1655 native_write_short(short[] audioData, int offsetInShorts, int sizeInShorts, int format) argument
|
Completed in 76 milliseconds