| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_SYSTEM_AUDIO_AUDIO_OBSERVER_H_ | 5 #ifndef ASH_COMMON_SYSTEM_AUDIO_AUDIO_OBSERVER_H_ |
| 6 #define ASH_SYSTEM_AUDIO_AUDIO_OBSERVER_H_ | 6 #define ASH_COMMON_SYSTEM_AUDIO_AUDIO_OBSERVER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 namespace ash { | 10 namespace ash { |
| 11 | 11 |
| 12 class AudioObserver { | 12 class AudioObserver { |
| 13 public: | 13 public: |
| 14 virtual ~AudioObserver() {} | 14 virtual ~AudioObserver() {} |
| 15 | 15 |
| 16 // Called when an active output device's volume changed. | 16 // Called when an active output device's volume changed. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 // Called when active audio output node changed. | 32 // Called when active audio output node changed. |
| 33 virtual void OnActiveOutputNodeChanged() = 0; | 33 virtual void OnActiveOutputNodeChanged() = 0; |
| 34 | 34 |
| 35 // Called when active audio input node changed. | 35 // Called when active audio input node changed. |
| 36 virtual void OnActiveInputNodeChanged() = 0; | 36 virtual void OnActiveInputNodeChanged() = 0; |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 } // namespace ash | 39 } // namespace ash |
| 40 | 40 |
| 41 #endif // ASH_SYSTEM_AUDIO_AUDIO_OBSERVER_H_ | 41 #endif // ASH_COMMON_SYSTEM_AUDIO_AUDIO_OBSERVER_H_ |
| OLD | NEW |