提交 03eade35 编写于 作者: 戴伟琦

06301008

Signed-off-by: N戴伟琦 <daiweiqi@huawei.com>
上级 bcdf1785
...@@ -55,7 +55,7 @@ static napi_value AudioCaptureGenerate(napi_env env, napi_callback_info info) ...@@ -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) static napi_value AudioCaptureGenerateErr(napi_env env, napi_callback_info info)
{ {
OH_AudioStreamBuilder *builder; OH_AudioStreamBuilder *builder;
OH_AudioStream_Type type = AUDIOSTREAM_TYPE_RERNDERER; OH_AudioStream_Type type = AUDIOSTREAM_TYPE_RENDERER;
OH_AudioStreamBuilder_Create(&builder, type); OH_AudioStreamBuilder_Create(&builder, type);
OH_AudioCapturer *audioCapturer; OH_AudioCapturer *audioCapturer;
...@@ -313,7 +313,7 @@ static napi_value AudioCaptureGetCapturerInfo(napi_env env, napi_callback_info i ...@@ -313,7 +313,7 @@ static napi_value AudioCaptureGetCapturerInfo(napi_env env, napi_callback_info i
OH_AudioStreamBuilder *CreateRenderBuilder() OH_AudioStreamBuilder *CreateRenderBuilder()
{ {
OH_AudioStreamBuilder *builder; OH_AudioStreamBuilder *builder;
OH_AudioStream_Type type = AUDIOSTREAM_TYPE_RERNDERER; OH_AudioStream_Type type = AUDIOSTREAM_TYPE_RENDERER;
OH_AudioStreamBuilder_Create(&builder, type); OH_AudioStreamBuilder_Create(&builder, type);
return builder; return builder;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册