Searched refs:nativeRecorder (Results 1 – 3 of 3) sorted by relevance
26 static AudioRecorder* nativeRecorder; variable33 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 …]
124 private native int getBufferFrameCountN(long nativeRecorder); in getBufferFrameCountN() argument125 private native void setInputPresetN(long nativeRecorder, int inputPreset); in setInputPresetN() argument127 private native int getRoutedDeviceIdN(long nativeRecorder); in getRoutedDeviceIdN() argument129 private native int getSharingModeN(long nativeRecorder); in getSharingModeN() argument135 private native int setupStreamN(long nativeRecorder, int channelCount, int sampleRate, in setupStreamN() argument138 private native int teardownStreamN(long nativeRecorder); in teardownStreamN() argument140 private native int startStreamN(long nativeRecorder, int recorderSubtype); in startStreamN() argument142 private native int stopN(long nativeRecorder); in stopN() argument144 private native int getStreamStateN(long nativeRecorder); in getStreamStateN() argument145 private native int getLastErrorCallbackResultN(long nativeRecorder); in getLastErrorCallbackResultN() argument[all …]
156 OboeRecorder* nativeRecorder = ((OboeRecorder*)native_recorder); in Java_org_hyphonate_megaaudio_recorder_OboeRecorder_isRecordingN() local157 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() local164 return nativeRecorder->getNumBufferFrames(); in Java_org_hyphonate_megaaudio_recorder_OboeRecorder_getNumBufferFramesN()