2f0f0a06f40f830201b763c174c3b4a125e6e276 |
|
03-Oct-2014 |
Chinyue Chen <chinyue@chromium.org> |
CRAS: Builds software volume scalers from volume curve. This change creates software volume scalers according to the volume curve defined in card config files, and thus produces similar volume at each level when using software volume for the device. BUG=chromium:407957 TEST=1. make && make check 2. Tested on peppy with USB speaker, USB headphone, and HDMI output. Change-Id: I93ad0c81484305a0db734fefc69c1a41bd6c5550 Reviewed-on: https://chromium-review.googlesource.com/221400 Reviewed-by: Chinyue Chen <chinyue@chromium.org> Commit-Queue: Chinyue Chen <chinyue@chromium.org> Tested-by: Chinyue Chen <chinyue@chromium.org>
/external/adhd/cras/src/server/cras_volume_curve.h
|
14f8c2e948cc896d033a9a2597a646bb9110d28e |
|
05-Jun-2012 |
Dylan Reid <dgreid@chromium.org> |
CRAS: volume curve - add explicit volume curve. For boards needing the most possible configurability, allow each volume step to be given an explicit dB value. BUG=chromium-os:25412 TEST=volume_curve_unittest Change-Id: I2b18de53df257cead92570f4a9b3cce484b39227 Signed-off-by: Dylan Reid <dgreid@chromium.org>
/external/adhd/cras/src/server/cras_volume_curve.h
|
9ea33930817a59cd1ec72cfb3540611f7069a618 |
|
26-Mar-2012 |
Dylan Reid <dgreid@chromium.org> |
CRAS: Add a configurable volume curve. Create a new type of volume curve that allows for configurable max volume and step size for each volume step. BUG=chrome-os-partner:8155 TEST=updated volume curve unit tests. Signed-off-by: Dylan Reid <dgreid@chromium.org> Change-Id: Iec7aea4793d15bbb730442f4c0d9ebf6b69eacff
/external/adhd/cras/src/server/cras_volume_curve.h
|
78957c7652b9c0061b74b8eedadf83b6e8f8bb88 |
|
27-Mar-2012 |
Dylan Reid <dgreid@chromium.org> |
CRAS: Make volume curve more configurable. Allow for there to be more than one volume curve. Different volume curves will be used per device and per output within a device. For now everything still uses the default volume curve, that will change soon. The mixer will now contain a default volume curve for each card. The outputs associated with the card may have their own curve that overrides the default. alsa_io will now check it there is an output specific volume curve when applying volume for a device. BUG=none TEST=Updated unit tests. Build and run CRAS make sure volume controls and audio still works. Change-Id: Idb0a70cb568d3dd202e6680c3054c0425ed05896 Signed-off-by: Dylan Reid <dgreid@chromium.org>
/external/adhd/cras/src/server/cras_volume_curve.h
|
51be872d43cc5f633be6b321fe83804ffbcc6a79 |
|
28-Feb-2012 |
Dylan Reid <dgreid@chromium.org> |
CRAS: Change alsa_mixer interface to show volume is dBFS. Rename the interface to alsa_mixer to make it clear that volume here is specified as dB down from full scale instead of as an index (0-100) as it is elsewhere. Change-Id: Ibe8175e40f07b985d305d2c03fd880cc91fe8c5a Signed-off-by: Dylan Reid <dgreid@chromium.org>
/external/adhd/cras/src/server/cras_volume_curve.h
|
70d6201e47271fe06c920b26cbf781c67fa3d4d8 |
|
15-Feb-2012 |
Dylan Reid <dgreid@chromium.org> |
CRAS: Add volume curve converter. Initially set up volume curve to drop 1dB per volume tick. Future change will allow for per-board volume curves. BUG=chromium-os:25413 TEST=make check and build and run CRAS. Change-Id: If301408d30afbc340584326e6867b125ab31a97c Signed-off-by: Dylan Reid <dgreid@chromium.org>
/external/adhd/cras/src/server/cras_volume_curve.h
|