chromium/chromeos/ash/components/dbus/audio/volume_state.h

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROMEOS_ASH_COMPONENTS_DBUS_AUDIO_VOLUME_STATE_H_
#define CHROMEOS_ASH_COMPONENTS_DBUS_AUDIO_VOLUME_STATE_H_

#include <stdint.h>

#include <string>

#include "base/component_export.h"

namespace ash {

struct COMPONENT_EXPORT(DBUS_AUDIO) VolumeState {
  int32_t output_volume;
  bool output_system_mute;
  int32_t input_gain;
  bool input_mute;
  bool output_user_mute;

  VolumeState();
  std::string ToString() const;
};

}  // namespace ash

#endif  // CHROMEOS_ASH_COMPONENTS_DBUS_AUDIO_VOLUME_STATE_H_