Home
last modified time | relevance | path

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

/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp546 auto cAudioData = envGetArrayElements(env, javaAudioData, NULL /* isCopy */); in writeArray() local
547 if (cAudioData == NULL) { in writeArray()
552 jint ret = writeToTrack(jtrack, cAudioData, offsetInSamples, sizeInSamples, writeFlags); in writeArray()
553 envReleaseArrayElements(env, javaAudioData, cAudioData, 0 /* mode */); in writeArray()
Daudio-record-native.cpp640 auto cAudioData = envGetArrayElements(env, javaAudioData, NULL /* isCopy */); in readArray() local
641 if (cAudioData == NULL) { in readArray()
646 jint ret = readFromRecord(jrecord, cAudioData, offsetInSamples, sizeInSamples, readFlags); in readArray()
647 envReleaseArrayElements(env, javaAudioData, cAudioData, 0 /* mode */); in readArray()