| Index: chromeos/dbus/audio_node.h
|
| diff --git a/chromeos/dbus/volume_state.h b/chromeos/dbus/audio_node.h
|
| similarity index 50%
|
| copy from chromeos/dbus/volume_state.h
|
| copy to chromeos/dbus/audio_node.h
|
| index 7fafd6e994ac91d8decaa826f05625c3fabc722e..8e0f5204bc8fc99d91f827ebfc5ef9cf47a5f3ce 100644
|
| --- a/chromeos/dbus/volume_state.h
|
| +++ b/chromeos/dbus/audio_node.h
|
| @@ -2,26 +2,31 @@
|
| // 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_
|
| +#ifndef CHROMEOS_DBUS_AUDIO_NODE_H_
|
| +#define CHROMEOS_DBUS_AUDIO_NODE_H_
|
|
|
| #include <string>
|
| +#include <vector>
|
|
|
| #include "base/basictypes.h"
|
| #include "chromeos/chromeos_export.h"
|
|
|
| namespace chromeos {
|
|
|
| -struct CHROMEOS_EXPORT VolumeState {
|
| - int32 output_volume;
|
| - bool output_mute;
|
| - int32 input_gain;
|
| - bool input_mute;
|
| +struct CHROMEOS_EXPORT AudioNode {
|
| + bool is_input;
|
| + uint64 id;
|
| + std::string device_name;
|
| + std::string type;
|
| + std::string name;
|
| + bool active;
|
|
|
| - VolumeState();
|
| + AudioNode();
|
| std::string ToString() const;
|
| };
|
|
|
| +typedef std::vector<AudioNode> AudioNodeList;
|
| +
|
| } // namespace chromeos
|
|
|
| -#endif // CHROMEOS_DBUS_VOLUME_STATE_H_
|
| +#endif // CHROMEOS_DBUS_AUDIO_NODE_H_
|
|
|