diff --git a/entry/src/main/cpp/capbilities/AudioEncoder.cpp b/entry/src/main/cpp/capbilities/AudioEncoder.cpp index d6bf44b1d762763fc76d4e2b3b496c27d3fba977..06589ad8ac06bd592b1b246a6533287fc47c1f06 100644 --- a/entry/src/main/cpp/capbilities/AudioEncoder.cpp +++ b/entry/src/main/cpp/capbilities/AudioEncoder.cpp @@ -20,7 +20,7 @@ namespace { constexpr int LIMIT_LOGD_FREQUENCY = 50; -} // namespace +} AudioEncoder::~AudioEncoder() { diff --git a/entry/src/main/cpp/capbilities/include/AudioCapturer.h b/entry/src/main/cpp/capbilities/include/AudioCapturer.h index d9e681aa460284d01074ef3292af7707f71c2e33..1fd8898a78f34eca77383f01b55d99978c6ea731 100644 --- a/entry/src/main/cpp/capbilities/include/AudioCapturer.h +++ b/entry/src/main/cpp/capbilities/include/AudioCapturer.h @@ -37,4 +37,4 @@ private: }; -#endif //AVCODECVIDEO_AUDIOCAPTURER_H +#endif // AVCODECVIDEO_AUDIOCAPTURER_H diff --git a/entry/src/main/cpp/sample/recorder/RecorderNative.cpp b/entry/src/main/cpp/sample/recorder/RecorderNative.cpp index 239519d5d61339aa01f58649f7c7439ab5b0ab8c..91894ea9e06f930b84c1f6db57a7afa47a27466b 100644 --- a/entry/src/main/cpp/sample/recorder/RecorderNative.cpp +++ b/entry/src/main/cpp/sample/recorder/RecorderNative.cpp @@ -90,7 +90,6 @@ napi_value RecorderNative::Init(napi_env env, napi_callback_info info) { sampleInfo.hevcProfile = HEVC_PROFILE_MAIN_10; } - //音频 sampleInfo.audioCodecMime = OH_AVCODEC_MIMETYPE_AUDIO_AAC; sampleInfo.audioSampleForamt = OH_BitsPerSample::SAMPLE_S16LE; sampleInfo.audioSampleRate = 48000; diff --git a/screenshots/device/AVCodec_Index.en.png b/screenshots/device/AVCodec_Index.en.png index a3cdf31d6a86c8b7dfa45d2a8970a24aa871817b..b0817c678a8cf1058f769a9d687f97eedb5aa485 100644 Binary files a/screenshots/device/AVCodec_Index.en.png and b/screenshots/device/AVCodec_Index.en.png differ diff --git a/screenshots/device/AVCodec_Index.png b/screenshots/device/AVCodec_Index.png index b0817c678a8cf1058f769a9d687f97eedb5aa485..a3cdf31d6a86c8b7dfa45d2a8970a24aa871817b 100644 Binary files a/screenshots/device/AVCodec_Index.png and b/screenshots/device/AVCodec_Index.png differ