diff options
author | Eric Laurent <elaurent@google.com> | 2011-06-17 21:51:11 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2011-07-12 17:19:08 -0700 |
commit | 1c65a49da0c89f75e528354ef02de5dc93a28232 (patch) | |
tree | e9805586424e8f966b8cc885e7aa59aad925f3b5 /audio/audio_policy_hal.cpp | |
parent | 437fee8c60ef8f573c1a1816bffc67dfe306500d (diff) | |
download | hardware_libhardware_legacy-1c65a49da0c89f75e528354ef02de5dc93a28232.zip hardware_libhardware_legacy-1c65a49da0c89f75e528354ef02de5dc93a28232.tar.gz hardware_libhardware_legacy-1c65a49da0c89f75e528354ef02de5dc93a28232.tar.bz2 |
Audio effects: support for audio pre processing
Audio policy manager: allow registration of audio effects on
inputs too.
Change-Id: I92efa5b51cfde591052a5c56ba2b0b84de80df0f
Diffstat (limited to 'audio/audio_policy_hal.cpp')
-rw-r--r-- | audio/audio_policy_hal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/audio_policy_hal.cpp b/audio/audio_policy_hal.cpp index b9ec3da..0dc5524 100644 --- a/audio/audio_policy_hal.cpp +++ b/audio/audio_policy_hal.cpp @@ -250,13 +250,13 @@ static audio_io_handle_t ap_get_output_for_effect(struct audio_policy *pol, static int ap_register_effect(struct audio_policy *pol, struct effect_descriptor_s *desc, - audio_io_handle_t output, + audio_io_handle_t io, uint32_t strategy, int session, int id) { struct legacy_audio_policy *lap = to_lap(pol); - return lap->apm->registerEffect(desc, output, strategy, session, id); + return lap->apm->registerEffect(desc, io, strategy, session, id); } static int ap_unregister_effect(struct audio_policy *pol, int id) |