Home
last modified time | relevance | path

Searched refs:audioStreamType (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/src/
H A Daudio_renderer.cpp130 return Create(audioStreamType, appInfo); in Create()
135 if (audioStreamType == STREAM_MEDIA) { in Create()
136 audioStreamType = STREAM_MUSIC; in Create()
170 if (audioStreamType == STREAM_ULTRASONIC && getuid() != UID_MSDP_SA) { in Create()
252 audioInterrupt_.audioFocusType.streamType = audioStreamType; in AudioRendererPrivate()
475 ActivateAudioConcurrency(audioStreamParams, audioStreamType, streamClass); in PrepareAudioStream()
833 audioInterrupt_.audioFocusType.streamType = audioStreamType; in SetAudioRendererDesc()
834 return audioStream_->SetAudioStreamType(audioStreamType); in SetAudioRendererDesc()
837 int32_t AudioRendererPrivate::SetStreamType(AudioStreamType audioStreamType) in SetStreamType() argument
839 audioInterrupt_.audioFocusType.streamType = audioStreamType; in SetStreamType()
[all …]
/ohos5.0/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiorenderer/include/
H A Daudio_renderer.h175 static std::unique_ptr<AudioRenderer> Create(AudioStreamType audioStreamType);
186 …static std::unique_ptr<AudioRenderer> Create(AudioStreamType audioStreamType, const AppInfo &appIn…
497 virtual int32_t SetStreamType(AudioStreamType audioStreamType) = 0;
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/src/
H A Daudio_capturer.cpp68 std::unique_ptr<AudioCapturer> AudioCapturer::Create(AudioStreamType audioStreamType) in Create() argument
71 return Create(audioStreamType, appInfo); in Create()
74 std::unique_ptr<AudioCapturer> AudioCapturer::Create(AudioStreamType audioStreamType, const AppInfo… in Create() argument
76 return std::make_unique<AudioCapturerPrivate>(audioStreamType, appInfo, true); in Create()
111 AudioStreamType audioStreamType = FindStreamTypeBySourceType(sourceType); in Create() local
124 auto capturer = std::make_unique<AudioCapturerPrivate>(audioStreamType, appInfo, false); in Create()
182 AudioCapturerPrivate::AudioCapturerPrivate(AudioStreamType audioStreamType, const AppInfo &appInfo,… in AudioCapturerPrivate() argument
184 if (audioStreamType < STREAM_VOICE_CALL || audioStreamType > STREAM_ALL) { in AudioCapturerPrivate()
187 audioStreamType_ = audioStreamType; in AudioCapturerPrivate()
188 auto iter = streamToSource_.find(audioStreamType); in AudioCapturerPrivate()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioadapter/src/
H A Dpulse_audio_service_adapter_impl.cpp793 AudioStreamType audioStreamType = STREAM_DEFAULT; in PaGetAllSinkInputsCb() local
796 audioStreamType = thiz->GetIdByStreamType(streamType); in PaGetAllSinkInputsCb()
800 sinkInput.streamType = audioStreamType; in PaGetAllSinkInputsCb()
847 AudioStreamType audioStreamType = STREAM_DEFAULT; in PaGetAllSourceOutputsCb() local
850 audioStreamType = thiz->GetIdByStreamType(streamType); in PaGetAllSourceOutputsCb()
855 sourceOutput.streamType = audioStreamType; in PaGetAllSourceOutputsCb()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/include/
H A Daudio_renderer_private.h60 int32_t SetStreamType(AudioStreamType audioStreamType) override;
172 …explicit AudioRendererPrivate(AudioStreamType audioStreamType, const AppInfo &appInfo, bool create…
182 const AudioStreamType &audioStreamType, IAudioStream::StreamClass &streamClass);
195 const AudioStreamType &audioStreamType, IAudioStream::StreamClass &streamClass);
/ohos5.0/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocapturer/include/
H A Daudio_capturer.h149 static std::unique_ptr<AudioCapturer> Create(AudioStreamType audioStreamType);
160 …static std::unique_ptr<AudioCapturer> Create(AudioStreamType audioStreamType, const AppInfo &appIn…
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiostream/include/
H A Dfast_audio_stream.h87 int32_t SetAudioStreamType(AudioStreamType audioStreamType) override;
H A Di_audio_stream.h141 virtual int32_t SetAudioStreamType(AudioStreamType audioStreamType) = 0;
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/
H A Daudio_policy_server.cpp727 for (auto audioStreamType : GET_STREAM_ALL_VOLUME_TYPES) { in SetStreamMuteInternal() local
728 AUDIO_INFO_LOG("SetMute of STREAM_ALL for StreamType = %{public}d ", audioStreamType); in SetStreamMuteInternal()
729 int32_t setResult = SetSingleStreamMute(audioStreamType, mute, isUpdateUi); in SetStreamMuteInternal()
799 for (auto audioStreamType : GET_STREAM_ALL_VOLUME_TYPES) { in SetSystemVolumeLevelInternal() local
801 audioStreamType, mute, volumeLevel); in SetSystemVolumeLevelInternal()
802 … int32_t setResult = SetSingleStreamVolume(audioStreamType, volumeLevel, isUpdateUi, mute); in SetSystemVolumeLevelInternal()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/include/
H A Daudio_capturer_private.h109 …AudioCapturerPrivate(AudioStreamType audioStreamType, const AppInfo &appInfo, bool createStream = …
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/client/include/
H A Drenderer_in_client_private.h102 int32_t SetAudioStreamType(AudioStreamType audioStreamType) override;
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Dcapturer_in_client.cpp96 int32_t SetAudioStreamType(AudioStreamType audioStreamType) override;
911 int32_t CapturerInClientInner::SetAudioStreamType(AudioStreamType audioStreamType) in SetAudioStreamType() argument
913 …LOG("Change stream type %{public}d to %{public}d is not supported", eStreamType_, audioStreamType); in SetAudioStreamType()
H A Dfast_audio_stream.cpp225 int32_t FastAudioStream::SetAudioStreamType(AudioStreamType audioStreamType) in SetAudioStreamType() argument
H A Drenderer_in_client.cpp704 int32_t RendererInClientInner::SetAudioStreamType(AudioStreamType audioStreamType) in SetAudioStreamType() argument
706 …LOG("Change stream type %{public}d to %{public}d is not supported", eStreamType_, audioStreamType); in SetAudioStreamType()
/ohos5.0/foundation/multimedia/media_lite/services/player_lite/impl/player_control/player/
H A Dliteplayer.cpp2054 int32_t audioStreamType = type; in SetAudioStreamType() local
2057 msg.msgData = &audioStreamType; in SetAudioStreamType()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/unittest/renderer_test/src/
H A Daudio_renderer_unit_test.cpp1222 AudioStreamType audioStreamType = STREAM_MUSIC; variable
1223 ret = audioRenderer->SetStreamType(audioStreamType);