summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-02-03 08:46:13 -0800
committerGlenn Kasten <gkasten@google.com>2014-02-28 11:54:03 -0800
commit316222fcd60a429e53aa6205278697bb2df8ef32 (patch)
treea60ca3936c1f322c2b1873eeb0583ef78dc6515f /include/hardware_legacy
parent19f21e355361e923e396bebe2f42e0d13de2acd0 (diff)
downloadhardware_libhardware_legacy-316222fcd60a429e53aa6205278697bb2df8ef32.zip
hardware_libhardware_legacy-316222fcd60a429e53aa6205278697bb2df8ef32.tar.gz
hardware_libhardware_legacy-316222fcd60a429e53aa6205278697bb2df8ef32.tar.bz2
Rename setStreamOutput to invalidateStream
And simplify by removing the unused I/O handle parameter 'output'. Change-Id: Ie9c4df17a7378066312d4ed8790fda7a9125c95e
Diffstat (limited to 'include/hardware_legacy')
-rw-r--r--include/hardware_legacy/AudioPolicyInterface.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/hardware_legacy/AudioPolicyInterface.h b/include/hardware_legacy/AudioPolicyInterface.h
index 6a01684..da03ee3 100644
--- a/include/hardware_legacy/AudioPolicyInterface.h
+++ b/include/hardware_legacy/AudioPolicyInterface.h
@@ -229,9 +229,8 @@ public:
// for each output (destination device) it is attached to.
virtual status_t setStreamVolume(AudioSystem::stream_type stream, float volume, audio_io_handle_t output, int delayMs = 0) = 0;
- // FIXME ignores output, should be renamed to invalidateStreamOuput(stream)
- // reroute a given stream type to the specified output
- virtual status_t setStreamOutput(AudioSystem::stream_type stream, audio_io_handle_t output) = 0;
+ // invalidate a stream type, causing a reroute to an unspecified new output
+ virtual status_t invalidateStream(AudioSystem::stream_type stream) = 0;
// function enabling to send proprietary informations directly from audio policy manager to audio hardware interface.
virtual void setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs, int delayMs = 0) = 0;