f558e0218d2677a813c9c600886f673894eec927 |
|
15-Nov-2016 |
Mikhail Naganov <mnaganov@google.com> |
libaudiohal: Implement simple HIDL client This client requires both HIDL client and server to be of the same ABI version (e.g. 32-bit). EffectHalHidl::process and EffectHalHidl::processReverse are stubs. Some extra warnings are logged due to unimplemented functions in the legacy HAL. Bug: 30222631 Change-Id: Id074131dec6d6c4f1031695abcf3ea066e92a5af Test: Play Music (play / EQ), YouTube, Loopback RTLT, Ok Google on N5X
/frameworks/av/media/libmedia/AudioParameter.cpp
|
aad28fc2465edadca45b2953c92186cb26f5ef51 |
|
14-Nov-2016 |
Mikhail Naganov <mnaganov@google.com> |
AudioParameter: add functions for working with parameter keys Added functions that are helpful for building parameter query strings to be used with HAL's 'get_parameter' methods. Test: make Change-Id: I66a4e94d65660b04ded4abb59a89d8288056a920
/frameworks/av/media/libmedia/AudioParameter.cpp
|
913d06c099bd689375483a839e11057ccf284d1c |
|
01-Nov-2016 |
Mikhail Naganov <mnaganov@google.com> |
Move TypeConverter into a shared library This will be needed for the default implementation of the audio HAL in TREBLE for parsing supported formats etc. provided by HAL in a form of string literals. As a bonus, remove some hand-written type conversions in AudioFlinger used in dumps. Example changes in the dump output: HAL format: 0x1 (pcm16) ==> HAL format: 0x1 (AUDIO_FORMAT_PCM_16_BIT) Processing format: 0x5 (pcmfloat) ==> Processing format: 0x5 (AUDIO_FORMAT_PCM_FLOAT) Output device: 0x2 (SPEAKER) ==> Output device: 0x2 (AUDIO_DEVICE_OUT_SPEAKER) Input device: 0 (NONE) ==> Input device: 0 (AUDIO_DEVICE_NONE) AudioStreamOut: 0x... flags 0x6 (PRIMARY|FAST) ==> AudioStreamOut: 0x... flags 0x6 (AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST) Test: make & run Change-Id: I9cde640e6827b7aa6d62e9caade9e738227e299f
/frameworks/av/media/libmedia/AudioParameter.cpp
|
388360c786cdcbec650b79db65c734b8952dfec0 |
|
18-Oct-2016 |
Mikhail Naganov <mnaganov@google.com> |
Brush up audio parameters usage It is preferred to use the constants from AudioParameter (which can now serve as an abstraction layer similar to libaudiohal). Grepped for usages of defines and just string values and replaced with references to AudioParameter. Since the parameter definitions are being moved to system/audio.h, update includes in AudioParemeter and stagefright Utils. Change-Id: I2addb983707d866b16f39d45d0e14b802595e292 Test: make
/frameworks/av/media/libmedia/AudioParameter.cpp
|
00260b5e6996b0a4b12f71c5b84e44adea040534 |
|
13-Oct-2016 |
Mikhail Naganov <mnaganov@google.com> |
Remove dependencies on hardware/audio_effects.h and EffectsFactoryApi.h Also remove some outstanding dependencies on hardware/audio.h. Most of the time, only constants and structs from audio_effects.h are used, and no actual calls into HAL are made. Move these definitions into system/audio_effect.h, and generate constants from TREBLE HAL definition. For parameters, always use values from AudioParameter class. There are still some outstanding includes of hardware/audio.h in code that directly deals with audio modules. Need to extend libaudiohal interfaces to support required functionality. Test: make Change-Id: I0bcdf8ae199485d4d65f3eeb7e7a3b9b5cdb6ab6
/frameworks/av/media/libmedia/AudioParameter.cpp
|
40bc906252974d0b389ae4a147232d0c9a97193f |
|
20-Mar-2015 |
Glenn Kasten <gkasten@google.com> |
namespace does not need a closing semicolon Change-Id: Ie8f9d42fc061f6d558f23b98414e04eb3d14b376
/frameworks/av/media/libmedia/AudioParameter.cpp
|
ff7455c0c1df0c316a306fb81ee660840d08b6d0 |
|
07-Sep-2013 |
seunghak.han <seunghak.han@lge.com> |
strtok stores its values in thread local storage. So it can not guarantee works well when multithread environment. AudioFlinger has multithread. so strtok_r is more safe. Change-Id: I6d77ef9cc49a4478dd856dcdca14e4920ce955c6
/frameworks/av/media/libmedia/AudioParameter.cpp
|
28ed2f93324988767b5658eba7c1fa781a275183 |
|
07-Jun-2012 |
Glenn Kasten <gkasten@google.com> |
Reduce underruns in screen off, esp. with EQ Add MonoPipe APIs to specify setpoint. Use screen state to configure pipe setpoint. Fix a long-standing bug where pipe sleep time was excessive, which interacted poorly with governor and low clock frequencies. Now it deducts the elapsed time since last write(), which was significant when there was EQ and low clock frequency. Bug: 6618373 Change-Id: I6f3b0072c2244aeb033ef0795ad164491a164ff5
/frameworks/av/media/libmedia/AudioParameter.cpp
|
edf47a8cba2d1d8985b64bf4a4fac661ba34f35a |
|
01-Apr-2012 |
Glenn Kasten <gkasten@google.com> |
Update AudioParameter Use definitions for AUDIO_PARAMETER_STREAM_* from <hardware/audio.h> instead of repeating these constants. String constants are const char * const. Change-Id: I1c9ebe0bc9c827d719d3181aea55251c6db28ec4
/frameworks/av/media/libmedia/AudioParameter.cpp
|
3856b090cd04ba5dd4a59a12430ed724d5995909 |
|
20-Oct-2011 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
/frameworks/av/media/libmedia/AudioParameter.cpp
|
db5cb14318bb24cd6ea14ff7ceea0d5e1f83d903 |
|
20-Apr-2011 |
Dima Zavin <dima@android.com> |
libmedia: move AudioParameter out of AudioSystem Change-Id: I9eb7e002d141936258050d4fa4f0ccd8202bfc54 Signed-off-by: Dima Zavin <dima@android.com>
/frameworks/av/media/libmedia/AudioParameter.cpp
|