diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2013-03-25 16:11:44 +0000 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2013-06-27 17:16:24 -0700 |
commit | f37f187bbac1fd7bf884eb3ea5c47aa78cb68cdc (patch) | |
tree | 30ee74ed74cb7b1815e408923f119c6931d91cf9 /tests | |
parent | 6a96df3b335f8fc1b514fdcf95e8ded350fcf2b5 (diff) | |
download | hardware_libhardware-f37f187bbac1fd7bf884eb3ea5c47aa78cb68cdc.zip hardware_libhardware-f37f187bbac1fd7bf884eb3ea5c47aa78cb68cdc.tar.gz hardware_libhardware-f37f187bbac1fd7bf884eb3ea5c47aa78cb68cdc.tar.bz2 |
Add defines and support for audio offload
- Add non-blocking write support, set_callback() function
- Add pause, resume, flush, drain functions to audio output stream
- Add audio parameter defines for compressed audio metadata
- Extend audio_config_t to include an audio_offload_info_t field
- Add is_offload_supported() function to test whether there is
hardware decode support for a given compressed audio format
- Change audio_stream_frame_size() to handle offloaded streams.
For an offloaded stream the size is always counted in bytes
(frame size == 1) and the number of channels is irrelevant.
Change-Id: I5b82c3fdcfa1456502d0042888f166bf02d8d54b
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Eric Laurent <elaurent@google.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions