Home
last modified time | relevance | path

Searched refs:audioChannels (Results 1 – 25 of 121) sorted by relevance

12345

/ohos5.0/foundation/multimedia/player_framework/test/unittest/screen_capture_test/screen_capture_server_function_unittest/src/
H A Dscreen_capture_server_function_unittest.cpp116 .audioChannels = 0, in SetInvalidConfig()
122 .audioChannels = 0, in SetInvalidConfig()
161 .audioChannels = 2, in SetValidConfig()
167 .audioChannels = 2, in SetValidConfig()
223 .audioChannels = 0, in SetInvalidConfigFile()
229 .audioChannels = 0, in SetInvalidConfigFile()
275 .audioChannels = 2, in SetValidConfigFile()
281 .audioChannels = 2, in SetValidConfigFile()
422 config_.audioInfo.micCapInfo.audioChannels = 2;
435 config_.audioInfo.micCapInfo.audioChannels = 2;
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-media-kit/
H A D_o_h___audio_capture_info.md8 当audioSampleRate和audioChannels同时为0时,忽略该类型音频相关参数,不录制该类型音频数据。
25 | int32_t [audioChannels](#audiochannels) | 音频声道数。 |
32 ### audioChannels subsection
35 int32_t OH_AudioCaptureInfo::audioChannels
H A D_o_h___audio_info.md8 同时采集音频麦克风和音频内录数据时,两路音频的audioSampleRate和audioChannels采样参数需要相同。
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/
H A D_o_h___audio_capture_info.md8 When both **audioSampleRate** and **audioChannels** are **0**, the audio-related parameters are ign…
25 | int32_t [audioChannels](#audiochannels) | Number of audio channels. |
32 ### audioChannels subsection
35 int32_t OH_AudioCaptureInfo::audioChannels
/ohos5.0/foundation/multimedia/player_framework/test/unittest/screen_capture_test/screen_capture_unittest/src/
H A Dscreen_capture_unit_test.cpp49 .audioChannels = 2,
55 .audioChannels = 2,
82 .audioChannels = 2,
88 .audioChannels = 2,
115 .audioChannels = 2,
121 .audioChannels = 2,
148 .audioChannels = 2,
154 .audioChannels = 2,
198 .audioChannels = 2,
240 .audioChannels = 2,
[all …]
H A Dscreen_capture_unit_test_state.cpp437 .audioChannels = 2, in SetConfig()
492 .audioChannels = 0, in SetConfigFile()
498 .audioChannels = 0, in SetConfigFile()
716 config_.audioInfo.innerCapInfo.audioChannels = 2;
770 config_.audioInfo.innerCapInfo.audioChannels = 2;
871 config_.audioInfo.micCapInfo.audioChannels = 0;
982 config_.audioInfo.micCapInfo.audioChannels = 0;
1043 config_.audioInfo.micCapInfo.audioChannels = 0; in BeforeScreenCaptureSpecifiedWindowCbCase07()
1149 config_.audioInfo.micCapInfo.audioChannels = 0;
1240 config_.audioInfo.micCapInfo.audioChannels = 0;
[all …]
H A Dscreen_capture_unit_test_exclude.cpp191 .audioChannels = 2,
197 .audioChannels = 0,
232 .audioChannels = 0,
238 .audioChannels = 0,
304 .audioChannels = 0,
310 .audioChannels = 0,
448 .audioChannels = 2,
454 .audioChannels = 2,
483 .audioChannels = 2,
489 .audioChannels = 2,
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/screen_capture/
H A Dscreen_capture_impl.cpp104 return audioCapInfo.audioChannels == 0 && audioCapInfo.audioSampleRate == 0; in IsAudioCapInfoIgnored()
197 config.audioInfo.innerCapInfo.audioSampleRate, config.audioInfo.innerCapInfo.audioChannels, in InitOriginalStream()
198 config.audioInfo.micCapInfo.audioSampleRate, config.audioInfo.micCapInfo.audioChannels, in InitOriginalStream()
233 config.audioInfo.innerCapInfo.audioSampleRate, config.audioInfo.innerCapInfo.audioChannels, in InitCaptureFile()
234 config.audioInfo.micCapInfo.audioSampleRate, config.audioInfo.micCapInfo.audioChannels, in InitCaptureFile()
257 … if ((config.audioInfo.micCapInfo.audioChannels != config.audioInfo.innerCapInfo.audioChannels) || in InitCaptureFile()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/muxer/InnerAPI/
H A DInnerAVMuxerFuzzTest.cpp129 int audioChannels = GetIntRand(); variable
139 ", OH_AV_KEY_AUDIO_CHANNELS len is: " << audioChannels << endl;
146 mediaParams->Set<Tag::AUDIO_CHANNEL_COUNT>(audioChannels);
229 int audioChannels = GetIntRand(); in HwTest_AddTrack() local
239 << ", OH_AV_KEY_AUDIO_CHANNELS len is: " << audioChannels << endl; in HwTest_AddTrack()
247 mediaParams->Set<Tag::AUDIO_CHANNEL_COUNT>(audioChannels); in HwTest_AddTrack()
/ohos5.0/docs/zh-cn/application-dev/media/media/
H A Dusing-avscreencapture-for-file.md60 .audioChannels = 2,
66 .audioChannels = 2,
159 .audioChannels = 2,
165 .audioChannels = 2,
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_decoder/InnerAPI/
H A DInnerFuzzTest.cpp174 int32_t audioChannels = getIntRand(); variable
179 cout << ", AUDIO_CHANNELS len is: " << audioChannels << endl;
182 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, audioChannels);
233 int32_t audioChannels = getIntRand(); variable
238 cout << ", AUDIO_CHANNELS len is: " << audioChannels << endl;
241 generalFormat.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, audioChannels);
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/screen_capture_adapter_impl_test/
H A Dscreen_capture_adapter_impl_test.cpp79 return audioChannels; in GetAudioChannels()
88 int32_t audioChannels; member in OHOS::NWeb::MockAudioCaptureInfoAdapter
367 g_micCapInfo->audioChannels = AUDIO_CHANNELS; in SetUpTestCase()
369 g_innerCapInfo->audioChannels = AUDIO_CHANNELS; in SetUpTestCase()
409 g_screenCaptureConfig->audioInfo->micCapInfo->audioChannels = AUDIO_CHANNELS;
411 g_screenCaptureConfig->audioInfo->innerCapInfo->audioChannels = AUDIO_CHANNELS;
578 g_screenCaptureConfig->audioInfo->micCapInfo->audioChannels = AUDIO_CHANNELS;
580 g_screenCaptureConfig->audioInfo->innerCapInfo->audioChannels = AUDIO_CHANNELS;
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/
H A DNativeAVMuxerFuzzTest.cpp136 int audioChannels = getIntRand(); variable
144 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_CHANNEL_COUNT, audioChannels);
266 int audioChannels = getIntRand(); variable
274 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_CHANNEL_COUNT, audioChannels);
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureaudiochannels_fuzzer/
H A Dscreencaptureaudiochannels_fuzzer.cpp43 .audioChannels = 2, in SetConfig()
80 config.audioInfo.micCapInfo.audioChannels = *reinterpret_cast<int32_t *>(data); in FuzzScreenCaptureAudioChannels()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/InnerAPI/
H A DInnerFuzzTest.cpp168 int32_t audioChannels = getIntRand(); variable
175 cout << ", AUDIO_CHANNELS len is: " << audioChannels << endl;
178 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, audioChannels);
232 int32_t audioChannels = getIntRand(); variable
238 cout << ", AUDIO_CHANNELS len is: " << audioChannels << endl;
240 generalFormat.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, audioChannels);
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiochannels_fuzzer/
H A Dscreencaptureaudiochannels_ndk_fuzzer.cpp42 .audioChannels = 2, in SetConfig()
78 config.audioInfo.micCapInfo.audioChannels = *reinterpret_cast<int32_t *>(data); in FuzzScreenCaptureAudioChannelsNdk()
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/recorder_profiles/test/unittest/
H A Drecorder_profiles_unit_test.cpp50 profile->audioChannels = 2; // 2 common channels
67 profile->audioChannels = -1; // the wrong channels
191 EXPECT_EQ(2, videoRecorderProfile->audioChannels); // 2 expect channels
/ohos5.0/foundation/multimedia/player_framework/interfaces/inner_api/native/
H A Drecorder_profiles.h217 int32_t audioChannels = 0; member
238 int32_t audioChannels = 0; member
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureserverstartcase_fuzzer/
H A Dscreencaptureserverstartcase_fuzzer.cpp49 .audioChannels = 2, in SetConfig()
54 .audioChannels = 2, in SetConfig()
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/recorder_profiles/
H A Drecorder_profiles_impl.cpp73 profileData.recorderProfile.audioChannels = profile.audioChannels; in IsAudioRecorderConfigSupported()
/ohos5.0/foundation/multimedia/player_framework/services/services/recorder_profiles/server/
H A Drecorder_profiles_server.cpp135 (profile.recorderProfile.audioChannels == compareProfile.recorderProfile.audioChannels)) { in CompareProfile()
/ohos5.0/foundation/multimedia/player_framework/test/unittest/screen_capture_test/capi/src/
H A Dscreen_capture_capi_mock.cpp89 .audioChannels = config.audioInfo.micCapInfo.audioChannels, in Convert()
94 .audioChannels = config.audioInfo.innerCapInfo.audioChannels, in Convert()
/ohos5.0/docs/en/application-dev/media/media/
H A Dusing-avscreencapture-for-file.md60 .audioChannels = 2,
66 .audioChannels = 2,
159 .audioChannels = 2,
165 .audioChannels = 2,
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avscreen_capture/
H A Davscreen_capture_napi.cpp645 int32_t audioChannels = AVSCREENCAPTURE_DEFAULT_AUDIO_CHANNELS; in GetAudioInfo() local
662 ret = AVScreenCaptureNapi::GetPropertyInt32(env, args, "audioChannelCount", audioChannels); in GetAudioInfo()
665 ret = AVScreenCaptureNapi::CheckAudioChannelCount(audioChannels); in GetAudioInfo()
668 micConfig.audioChannels = audioChannels; in GetAudioInfo()
669 innerConfig.audioChannels = audioChannels; in GetAudioInfo()
670 MEDIA_LOGI("input audioChannelCount %{public}d", micConfig.audioChannels); in GetAudioInfo()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturesetcanvasrotation_fuzzer/
H A Dscreencapturesetcanvasrotation_fuzzer.cpp43 .audioChannels = 2, in SetConfig()

12345