/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/src/ |
H A D | audio_renderer.cpp | 150 std::unique_ptr<AudioRenderer> AudioRenderer::Create(AudioStreamType audioStreamType) in Create() argument 153 return Create(audioStreamType, appInfo); in Create() 156 std::unique_ptr<AudioRenderer> AudioRenderer::Create(AudioStreamType audioStreamType, const AppInfo &appInfo) in Create() argument 158 if (audioStreamType == STREAM_MEDIA) { in Create() 159 audioStreamType = STREAM_MUSIC; in Create() 162 return std::make_unique<AudioRendererPrivate>(audioStreamType, appInfo, true); in Create() 197 AudioStreamType audioStreamType = IAudioStream::GetStreamType(rendererOptions.rendererInfo.contentType, in Create() local 199 if (audioStreamType == STREAM_ULTRASONIC && getuid() != UID_MSDP_SA) { in Create() 206 auto audioRenderer = std::make_unique<AudioRendererPrivate>(audioStreamType, appInfo, false); in Create() 250 AudioRendererPrivate::AudioRendererPrivate(AudioStreamType audioStreamType, cons argument 458 AudioStreamType audioStreamType = IAudioStream::GetStreamType(rendererInfo_.contentType, rendererInfo_.streamUsage); SetParams() local 493 PrepareAudioStream(const AudioStreamParams &audioStreamParams, const AudioStreamType &audioStreamType, IAudioStream::StreamClass &streamClass) PrepareAudioStream() argument 900 AudioStreamType audioStreamType = IAudioStream::GetStreamType(contentType, streamUsage); SetAudioRendererDesc() local 905 SetStreamType(AudioStreamType audioStreamType) SetStreamType() argument [all...] |
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiorenderer/include/ |
H A D | audio_renderer.h | 170 * @param audioStreamType The audio streamtype to be created. 176 static std::unique_ptr<AudioRenderer> Create(AudioStreamType audioStreamType); 181 * @param audioStreamType The audio streamtype to be created. 188 static std::unique_ptr<AudioRenderer> Create(AudioStreamType audioStreamType, const AppInfo &appInfo); 511 * @param audioStreamType Audio stream type 516 virtual int32_t SetStreamType(AudioStreamType audioStreamType) = 0;
|
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/include/ |
H A D | audio_renderer_private.h | 63 int32_t SetStreamType(AudioStreamType audioStreamType) override; 158 explicit AudioRendererPrivate(AudioStreamType audioStreamType, const AppInfo &appInfo, bool createStream = true); 168 const AudioStreamType &audioStreamType, IAudioStream::StreamClass &streamClass); 182 const AudioStreamType &audioStreamType, IAudioStream::StreamClass &streamClass);
|
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocapturer/include/ |
H A D | audio_capturer.h | 150 static std::unique_ptr<AudioCapturer> Create(AudioStreamType audioStreamType); 162 static std::unique_ptr<AudioCapturer> Create(AudioStreamType audioStreamType, const AppInfo &appInfo);
|
/foundation/multimedia/audio_framework/frameworks/native/audioadapter/src/ |
H A D | pulse_audio_service_adapter_impl.cpp | 801 AudioStreamType audioStreamType = STREAM_DEFAULT; in PaGetAllSinkInputsCb() local 804 audioStreamType = thiz->GetIdByStreamType(streamType); in PaGetAllSinkInputsCb() 808 sinkInput.streamType = audioStreamType; in PaGetAllSinkInputsCb() 855 AudioStreamType audioStreamType = STREAM_DEFAULT; in PaGetAllSourceOutputsCb() local 858 audioStreamType = thiz->GetIdByStreamType(streamType); in PaGetAllSourceOutputsCb() 863 sourceOutput.streamType = audioStreamType; in PaGetAllSourceOutputsCb()
|
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/src/ |
H A D | audio_capturer.cpp | 67 std::unique_ptr<AudioCapturer> AudioCapturer::Create(AudioStreamType audioStreamType) in Create() argument 70 return Create(audioStreamType, appInfo); in Create() 73 std::unique_ptr<AudioCapturer> AudioCapturer::Create(AudioStreamType audioStreamType, const AppInfo &appInfo) in Create() argument 75 return std::make_unique<AudioCapturerPrivate>(audioStreamType, appInfo, true); in Create() 118 AudioStreamType audioStreamType = FindStreamTypeBySourceType(sourceType); in Create() local 131 auto capturer = std::make_unique<AudioCapturerPrivate>(audioStreamType, appInfo, false); in Create() 184 AudioCapturerPrivate::AudioCapturerPrivate(AudioStreamType audioStreamType, const AppInfo &appInfo, bool createStream) in AudioCapturerPrivate() argument 186 if (audioStreamType < STREAM_VOICE_CALL || audioStreamType > STREAM_ALL) { in AudioCapturerPrivate() 187 AUDIO_WARNING_LOG("audioStreamType i in AudioCapturerPrivate() [all...] |
/foundation/multimedia/audio_framework/frameworks/native/audiostream/include/ |
H A D | i_audio_stream.h | 140 virtual int32_t SetAudioStreamType(AudioStreamType audioStreamType) = 0;
|
H A D | fast_audio_stream.h | 87 int32_t SetAudioStreamType(AudioStreamType audioStreamType) override;
|
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_policy_service_unit_test/src/ |
H A D | audio_policy_service_first_unit_test.cpp | 398 for (const auto& audioStreamType : audioStreamTypes) { in HWTEST_F() 399 AUDIO_ERR_LOG("AudioPolicyServiceTest_003 streamType:%{public}d", static_cast<uint32_t>(audioStreamType)); in HWTEST_F() 400 GetServerPtr()->audioPolicyService_.GetSystemVolumeDb(audioStreamType); in HWTEST_F() 2514 for (const auto& audioStreamType : audioStreamTypes) { in HWTEST_F() 2515 GetServerPtr()->audioPolicyService_.SetSystemVolumeLevel(audioStreamType, volumeLevel); in HWTEST_F()
|
/foundation/multimedia/audio_framework/services/audio_service/client/include/ |
H A D | renderer_in_client_private.h | 74 int32_t SetAudioStreamType(AudioStreamType audioStreamType) override;
|
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/include/ |
H A D | audio_capturer_private.h | 105 AudioCapturerPrivate(AudioStreamType audioStreamType, const AppInfo &appInfo, bool createStream = true);
|
/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | capturer_in_client.cpp | 98 int32_t SetAudioStreamType(AudioStreamType audioStreamType) override; 921 int32_t CapturerInClientInner::SetAudioStreamType(AudioStreamType audioStreamType) in SetAudioStreamType() argument 923 AUDIO_ERR_LOG("Change stream type %{public}d to %{public}d is not supported", eStreamType_, audioStreamType); in SetAudioStreamType()
|
H A D | fast_audio_stream.cpp | 225 int32_t FastAudioStream::SetAudioStreamType(AudioStreamType audioStreamType) in SetAudioStreamType() argument
|
H A D | renderer_in_client.cpp | 722 int32_t RendererInClientInner::SetAudioStreamType(AudioStreamType audioStreamType) in SetAudioStreamType() argument 724 AUDIO_ERR_LOG("Change stream type %{public}d to %{public}d is not supported", eStreamType_, audioStreamType); in SetAudioStreamType()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/ |
H A D | audio_policy_server.cpp | 806 for (auto audioStreamType : streamTypeArray) { in SetStreamMuteInternal() 807 AUDIO_INFO_LOG("SetMute of STREAM_ALL for StreamType = %{public}d ", audioStreamType); in SetStreamMuteInternal() 808 int32_t setResult = SetSingleStreamMute(audioStreamType, mute, isUpdateUi); in SetStreamMuteInternal()
|
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/player/ |
H A D | liteplayer.cpp | 2054 int32_t audioStreamType = type; in SetAudioStreamType() local 2057 msg.msgData = &audioStreamType; in SetAudioStreamType()
|
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/unittest/renderer_test/src/ |
H A D | audio_renderer_unit_test.cpp | 1233 AudioStreamType audioStreamType = STREAM_MUSIC; in HWTEST() local 1234 ret = audioRenderer->SetStreamType(audioStreamType); in HWTEST()
|