diff options
author | Glenn Kasten <gkasten@google.com> | 2014-02-03 08:44:57 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-02-28 11:55:58 -0800 |
commit | 3f56a10cc39a46a9d17e59b64f7f744feba9d8c1 (patch) | |
tree | 1e05854360e883fd4c95333678e4de4a5a28539d /include | |
parent | 631785fbcb9c6790f62f31fa068117db64c5d93f (diff) | |
download | hardware_libhardware-3f56a10cc39a46a9d17e59b64f7f744feba9d8c1.zip hardware_libhardware-3f56a10cc39a46a9d17e59b64f7f744feba9d8c1.tar.gz hardware_libhardware-3f56a10cc39a46a9d17e59b64f7f744feba9d8c1.tar.bz2 |
Rename setStreamOutput to invalidateStream
And simplify by removing the unused I/O handle parameter 'output'.
Change-Id: Ie9c4df17a7378066312d4ed8790fda7a9125c95e
Diffstat (limited to 'include')
-rw-r--r-- | include/hardware/audio_policy.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/hardware/audio_policy.h b/include/hardware/audio_policy.h index 4e75e02..cbaa31d 100644 --- a/include/hardware/audio_policy.h +++ b/include/hardware/audio_policy.h @@ -332,10 +332,9 @@ struct audio_policy_service_ops { audio_io_handle_t output, int delay_ms); - /* reroute a given stream type to the specified output */ - int (*set_stream_output)(void *service, - audio_stream_type_t stream, - audio_io_handle_t output); + /* invalidate a stream type, causing a reroute to an unspecified new output */ + int (*invalidate_stream)(void *service, + audio_stream_type_t stream); /* function enabling to send proprietary informations directly from audio * policy manager to audio hardware interface. */ |