Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: media/audio/pulse/audio_manager_pulse.cc

Issue 2929823002: Making AudioManagerBase::ShutdownOnAudioThread() platform-agnostic (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/audio/pulse/audio_manager_pulse.cc
diff --git a/media/audio/pulse/audio_manager_pulse.cc b/media/audio/pulse/audio_manager_pulse.cc
index 6fa330f0e82708556ff7f6d93f31d610c9261da9..fe8364ac7760affe85b61862f93551f49f7c1874 100644
--- a/media/audio/pulse/audio_manager_pulse.cc
+++ b/media/audio/pulse/audio_manager_pulse.cc
@@ -51,8 +51,8 @@ AudioManagerPulse::AudioManagerPulse(std::unique_ptr<AudioThread> audio_thread,
AudioManagerPulse::~AudioManagerPulse() = default;
-void AudioManagerPulse::ShutdownOnAudioThread() {
- AudioManagerBase::ShutdownOnAudioThread();
+void AudioManagerPulse::ShutdownOnAudioThread(bool immediately) {
+ AudioManagerBase::ShutdownOnAudioThread(immediately);
// The Pulse objects are the last things to be destroyed since
// AudioManagerBase::ShutdownOnAudioThread() needs them.
pulse::DestroyPulse(input_mainloop_, input_context_);

Powered by Google App Engine
This is Rietveld 408576698