blob: 8ef13a640dd124372f2101fa32bc3572932008f1 [file] [log] [blame]
// Copyright 2016 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.
#include "media/audio/audio_io.h"
namespace media {
class MEDIA_EXPORT MuteableAudioOutputStream : public AudioOutputStream {
// Volume control coming from hardware. It overrides volume when it's
// true. Otherwise, use SetVolume(double volume) for scaling.
// This is needed because platform voice volume never goes to zero in
// COMMUNICATION mode on Android.
virtual void SetMute(bool muted) = 0;
} // namespace media