History log of /system/media/audio_route/audio_route.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
208ad7a1edc0e5a6621feadbbe38fc8a51958b04 01-May-2014 Glenn Kasten <gkasten@android.com> am ab03736c: am db7e74ec: am e0b59251: Merge "Added parsing of hexadecimal values"

* commit 'ab03736c770d9d363a975cbacbc21f9864d460ee':
Added parsing of hexadecimal values
a8070c02abafdfdd6a125710b1002c096ca3aa39 05-Feb-2014 Haynes Mathew George <hgeorge@codeaurora.org> audio_route: Add APIs to update mixer based on path

audio_route_apply_and_update_path
audio_route_reset_and_update_path

These routines allows updating the mixer controls for just the specified path.
The controls will be updated in the order listed in the path.

Change-Id: If193bc047ccbb8c6497926d6181c5c4541a9d6aa
/system/media/audio_route/audio_route.c
c4b226627b1e3f9bde1c6b08b338a25a3eddab05 21-Apr-2014 Eric Laurent <elaurent@google.com> Non API functions should be static.

Change-Id: I89586e413ceb24c17a18e7dcf1241aefb274d573
/system/media/audio_route/audio_route.c
76824ba7db04ad3f2719d484b40a73b506aba587 08-Nov-2013 Johan Gustavsson <johan1.gustavsson.x@sonymobile.com> Added parsing of hexadecimal values

Parsing of hexadecimal values enables expressing e.g. IIR filter
values in hexadecimal format.

Change-Id: Iaa2913777f96176cc4ffa62d9f44cf2e4a5b5c5b
/system/media/audio_route/audio_route.c
bfbed3a20b64392f2162380bc4b5a26a126127c7 18-Dec-2013 Eric Laurent <elaurent@google.com> audio_route: fix crash with unsupported control types

Check if control type is supported before accessing xxx_value
fields in mixer_state structure.

Also remove unused parameter warning.

Change-Id: I9005d4760e55f0798d576bd4507700e198900311
/system/media/audio_route/audio_route.c
c5b5f6b344e3d8448e436835e5214364469614f6 18-Dec-2013 Eric Laurent <elaurent@google.com> audio_route: fix crash with unsupported control types

Check if control type is supported before accessing xxx_value
fields in mixer_state structure.

Also remove unused parameter warning.

Change-Id: I9005d4760e55f0798d576bd4507700e198900311
/system/media/audio_route/audio_route.c
63b31c18b37409e1b024c50df94798aac9d0fa7d 25-May-2013 Ravi Kumar Alamanda <ralama@codeaurora.org> audio_route: use mixer_ctl_get/set_array

Rather than make individual calls to tinyalsa for every
value in each mixer control, which is expensive for linked
controls, use the array get/set functions instead. This
reduces the number of system calls that tinyalsa has to
make. The majority of controls are linked and have 1 or 2
values so the CPU overhead is small.

Change-Id: If32cb8c639e113403641cab0d68b32799cebb059
/system/media/audio_route/audio_route.c
d35bd63c74452b83eef34cff4f0831493d0781fa 13-May-2013 Simon Wilson <simonwilson@google.com> audio_route: skip missing controls

Mixer controls that are in mixer_paths.xml but missing from
the mixer should be skipped, otherwise arrays will be accessed
out of bounds. This happened in b/8893515.

Also print the missing control name to aid debugging.

Change-Id: Ia808df48734f78a02281408a4025652dec9762c0
/system/media/audio_route/audio_route.c
f3090fa9ce87c45aecb95a2c98a5cfcc2d3ee99a 13-Feb-2013 Simon Wilson <simonwilson@google.com> audio_route: use ctl_index instead of searching

Store the ctl_index instead of the ctl in the path so
that path_apply() and path_reset() don't have to
do a linear search through all the controls each time
to locate the index.

Change-Id: I0204310df55303dffdf10f68b652a820ca252d95
/system/media/audio_route/audio_route.c
72c277ef4859f7aa07ac43b3b9cc6754d6e3d505 08-Feb-2013 Ravi Kumar Alamanda <ralama@codeaurora.org> Add audio_route_reset_path()

Change-Id: I24905ef23f74673e1f97b591d7dcb04a54744f05
/system/media/audio_route/audio_route.c
cef935958069ffba745cd091e6e1687095ea6785 16-Jan-2013 Simon Wilson <simonwilson@google.com> Put audio_route into its own library

The audio_route library allows mixer paths to be
loaded from an XML file and can control a mixer
via tinyalsa. It contains useful functions that
can be factored out of the audio HAL.

Change-Id: Iebcb2b492c5936dbf0e0b976aeaa4ffbab136588
/system/media/audio_route/audio_route.c