Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/jni/megaaudio/player/
DNativeAudioSource.cpp30 JNIEnv *env, jobject thiz, jlong native_source_ptr, jint num_frames, jint num_chans) { in Java_org_hyphonate_megaaudio_player_NativeAudioSource_initN() argument
31 sAudioBuffer = new float[num_frames * num_chans]; in Java_org_hyphonate_megaaudio_player_NativeAudioSource_initN()
64 jfloatArray audio_data, jint num_frames, jint num_chans) { in Java_org_hyphonate_megaaudio_player_NativeAudioSource_pullN() argument
66 int numFrames = audioSource->pull(sAudioBuffer, num_frames, num_chans); in Java_org_hyphonate_megaaudio_player_NativeAudioSource_pullN()
69 env->SetFloatArrayRegion(audio_data, 0, numFrames * num_chans, sAudioBuffer); in Java_org_hyphonate_megaaudio_player_NativeAudioSource_pullN()
/cts/apps/CtsVerifier/jni/megaaudio/recorder/
DNativeAudioSink.cpp29 jlong native_sink_ptr , jint num_frames, jint num_chans ) { in Java_org_hyphonate_megaaudio_recorder_NativeAudioSink_initN() argument
32 sink->init(num_frames, num_chans); in Java_org_hyphonate_megaaudio_recorder_NativeAudioSink_initN()
50 jfloatArray audio_data, jint num_frames, jint num_chans) { in Java_org_hyphonate_megaaudio_recorder_NativeAudioSink_pushN() argument
56 audioSink->push(nativeAudioData, num_frames, num_chans); in Java_org_hyphonate_megaaudio_recorder_NativeAudioSink_pushN()