diff options
author | Glenn Kasten <gkasten@google.com> | 2013-12-19 16:35:18 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2013-12-19 17:00:04 -0800 |
commit | c23885ebb142b9da31543789ecc3f7cf7111bc67 (patch) | |
tree | d9efe1cf2119c46e5822c5bb47881e9446f200fb /include/media/AudioSystem.h | |
parent | bd72d22097f78f5bd668b223bc8c94e351311e31 (diff) | |
download | frameworks_av-c23885ebb142b9da31543789ecc3f7cf7111bc67.zip frameworks_av-c23885ebb142b9da31543789ecc3f7cf7111bc67.tar.gz frameworks_av-c23885ebb142b9da31543789ecc3f7cf7111bc67.tar.bz2 |
Add versions of get/SetParameters without I/O handle
This is a step towards hiding I/O handles from application level,
as much as possible.
Change-Id: I30f4171d5dcf77f8e8eb332ce2e9245b30f5f2e1
Diffstat (limited to 'include/media/AudioSystem.h')
-rw-r--r-- | include/media/AudioSystem.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h index b96b8a1..ba29e26 100644 --- a/include/media/AudioSystem.h +++ b/include/media/AudioSystem.h @@ -79,8 +79,12 @@ public: // set/get audio hardware parameters. The function accepts a list of parameters // key value pairs in the form: key1=value1;key2=value2;... // Some keys are reserved for standard parameters (See AudioParameter class). + // The versions with audio_io_handle_t are intended for internal media framework use only. static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs); static String8 getParameters(audio_io_handle_t ioHandle, const String8& keys); + // The versions without audio_io_handle_t are intended for JNI. + static status_t setParameters(const String8& keyValuePairs); + static String8 getParameters(const String8& keys); static void setErrorCallback(audio_error_callback cb); |