diff --git a/multimedia/audio/audio_js_standard/audio_ndk_test/entry/src/main/cpp/napi/audioTest.cpp b/multimedia/audio/audio_js_standard/audio_ndk_test/entry/src/main/cpp/napi/audioTest.cpp index 13ee1e54a31e576d58a036b56f45a3b588a3b807..477489543c12fa8b1170ae82c1f7f8c96ea4a396 100644 --- a/multimedia/audio/audio_js_standard/audio_ndk_test/entry/src/main/cpp/napi/audioTest.cpp +++ b/multimedia/audio/audio_js_standard/audio_ndk_test/entry/src/main/cpp/napi/audioTest.cpp @@ -55,7 +55,7 @@ static napi_value AudioCaptureGenerate(napi_env env, napi_callback_info info) static napi_value AudioCaptureGenerateErr(napi_env env, napi_callback_info info) { OH_AudioStreamBuilder *builder; - OH_AudioStream_Type type = AUDIOSTREAM_TYPE_RERNDERER; + OH_AudioStream_Type type = AUDIOSTREAM_TYPE_RENDERER; OH_AudioStreamBuilder_Create(&builder, type); OH_AudioCapturer *audioCapturer; @@ -313,7 +313,7 @@ static napi_value AudioCaptureGetCapturerInfo(napi_env env, napi_callback_info i OH_AudioStreamBuilder *CreateRenderBuilder() { OH_AudioStreamBuilder *builder; - OH_AudioStream_Type type = AUDIOSTREAM_TYPE_RERNDERER; + OH_AudioStream_Type type = AUDIOSTREAM_TYPE_RENDERER; OH_AudioStreamBuilder_Create(&builder, type); return builder; }