Index: chromeos/audio/cras_audio_handler.h |
diff --git a/chromeos/audio/cras_audio_handler.h b/chromeos/audio/cras_audio_handler.h |
index b95f123bb3da5f7c6e6d1c8dadf89c7f2cf418e7..e5e9f665cf32e6fa8a4809f2488b37de38d0a0bb 100644 |
--- a/chromeos/audio/cras_audio_handler.h |
+++ b/chromeos/audio/cras_audio_handler.h |
@@ -230,6 +230,10 @@ class CHROMEOS_EXPORT CrasAudioHandler : public CrasAudioClient::Observer, |
size_t new_device_size, |
uint64 current_active_node); |
+ // Returns true if there is any device change for for input or output, |
+ // specified by |is_input|. |
+ bool HasDeviceChange(const AudioNodeList& new_nodes, bool is_input); |
+ |
// Handles dbus callback for GetNodes. |
void HandleGetNodes(const chromeos::AudioNodeList& node_list, bool success); |