// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_AUDIO_PULSE_PULSE_LOOPBACK_MANAGER_H_ #define MEDIA_AUDIO_PULSE_PULSE_LOOPBACK_MANAGER_H_ #include <pulse/pulseaudio.h> #include "base/memory/raw_ptr.h" #include "base/memory/scoped_refptr.h" #include "base/task/single_thread_task_runner.h" #include "base/threading/thread_checker.h" #include "pulse_loopback.h" #include <memory> #include <string> namespace media { // This class is required when performing system audio loopback capture. It // manages PulseLoopbackAudioStreams, which are kind of PulseAudioInputStream // which is guaranteed to always deliver system audio. There must only be one // instance of this class associated with a particular pa_context. class PulseLoopbackManager { … }; } // namespace media #endif // MEDIA_AUDIO_PULSE_PULSE_LOOPBACK_MANAGER_H_