Home
last modified time | relevance | path

Searched refs:nativeRecorder (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/audio/jni/
DAudioRecorder_jni.cpp26 static AudioRecorder* nativeRecorder; variable
33 if (nativeRecorder == 0) { in Java_android_media_audio_cts_AudioRecorder_Create()
34 nativeRecorder = new AudioRecorder(); in Java_android_media_audio_cts_AudioRecorder_Create()
36 nativeRecorder->Open(numChannels, 0); in Java_android_media_audio_cts_AudioRecorder_Create()
41 nativeRecorder->Close(); in Java_android_media_audio_cts_AudioRecorder_Destroy()
42 delete nativeRecorder; in Java_android_media_audio_cts_AudioRecorder_Destroy()
43 nativeRecorder = 0; in Java_android_media_audio_cts_AudioRecorder_Destroy()
48 nativeRecorder->RealizeRecorder(); in Java_android_media_audio_cts_AudioRecorder_RealizeRecorder()
53 nativeRecorder->RealizeRoutingProxy(); in Java_android_media_audio_cts_AudioRecorder_RealizeRoutingProxy()
58 nativeRecorder->Start(); in Java_android_media_audio_cts_AudioRecorder_Start()
[all …]
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DOboeRecorder.java124 private native int getBufferFrameCountN(long nativeRecorder); in getBufferFrameCountN() argument
125 private native void setInputPresetN(long nativeRecorder, int inputPreset); in setInputPresetN() argument
127 private native int getRoutedDeviceIdN(long nativeRecorder); in getRoutedDeviceIdN() argument
129 private native int getSharingModeN(long nativeRecorder); in getSharingModeN() argument
135 private native int setupStreamN(long nativeRecorder, int channelCount, int sampleRate, in setupStreamN() argument
138 private native int teardownStreamN(long nativeRecorder); in teardownStreamN() argument
140 private native int startStreamN(long nativeRecorder, int recorderSubtype); in startStreamN() argument
142 private native int stopN(long nativeRecorder); in stopN() argument
144 private native int getStreamStateN(long nativeRecorder); in getStreamStateN() argument
145 private native int getLastErrorCallbackResultN(long nativeRecorder); in getLastErrorCallbackResultN() argument
[all …]
/cts/apps/CtsVerifier/jni/megaaudio/recorder/
DOboeRecorder.cpp156 OboeRecorder* nativeRecorder = ((OboeRecorder*)native_recorder); in Java_org_hyphonate_megaaudio_recorder_OboeRecorder_isRecordingN() local
157 return nativeRecorder->isRecording(); in Java_org_hyphonate_megaaudio_recorder_OboeRecorder_isRecordingN()
163 OboeRecorder* nativeRecorder = ((OboeRecorder*)native_recorder); in Java_org_hyphonate_megaaudio_recorder_OboeRecorder_getNumBufferFramesN() local
164 return nativeRecorder->getNumBufferFrames(); in Java_org_hyphonate_megaaudio_recorder_OboeRecorder_getNumBufferFramesN()