summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy
diff options
context:
space:
mode:
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;