blob: b6b582a6ac82586a22cbec9f7131928141c1f535 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_AUDIO_AUDIO_DEBUG_RECORDING_SESSION_H_
#define MEDIA_AUDIO_AUDIO_DEBUG_RECORDING_SESSION_H_
#include "base/macros.h"
#include "media/base/media_export.h"
namespace media {
// Enables/disables audio debug recording on construction/destruction. Objects
// are created using audio::CreateAudioDebugRecordingSession.
class MEDIA_EXPORT AudioDebugRecordingSession {
public:
AudioDebugRecordingSession(const AudioDebugRecordingSession&) = delete;
AudioDebugRecordingSession& operator=(const AudioDebugRecordingSession&) =
delete;
virtual ~AudioDebugRecordingSession() = default;
protected:
AudioDebugRecordingSession() = default;
};
} // namespace media
#endif // MEDIA_AUDIO_AUDIO_DEBUG_RECORDING_SESSION_H_