summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/volume_state.h
blob: caa08483773e6b4a1574ddd5a90e81652ae9e647 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) 2013 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 CHROMEOS_DBUS_VOLUME_STATE_H_
#define CHROMEOS_DBUS_VOLUME_STATE_H_

#include <stdint.h>

#include <string>

#include "chromeos/chromeos_export.h"

namespace chromeos {

struct CHROMEOS_EXPORT 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 chromeos

#endif  // CHROMEOS_DBUS_VOLUME_STATE_H_