History log of /external/adhd/cras/src/server/cras_expr.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
903b1c1c5eeb2ffc1bb8c6c000abf8af0b0d086e 24-Jan-2013 Chih-Chung Chang <chihchung@chromium.org> CRAS: Fix the "and" function.

BUG=none
TEST=make check

Change-Id: I6a872acb2297161844917415a22fd2ce5aa3e397
Reviewed-on: https://gerrit.chromium.org/gerrit/41924
Commit-Queue: Chih-Chung Chang <chihchung@chromium.org>
Reviewed-by: Chih-Chung Chang <chihchung@chromium.org>
Tested-by: Chih-Chung Chang <chihchung@chromium.org>
/external/adhd/cras/src/server/cras_expr.c
5d3c38538845869fb38cde16ec12e96245bc996f 13-Nov-2012 Chih-Chung Chang <chihchung@chromium.org> CRAS: DSP - Add expression parsing and evaluation functions and unit tests.

The expression facility will be used to determine whether a plugin needs
to be enabled. For example, if we have this line in the ini file for
the DRC plugin:

disable=(or disable_drc (equal? output_device "HDMI"))

then the plugin will be disabled when this expression is evaluated to
true (that is, when the variable "disable_drc" is true or the variable
"output_device" equals to "HDMI".

The expression syntax generally follows the syntax in the Scheme
programming language, but we only use a (very small) subset of it.

BUG=chromium-os:36300
TEST=make check
Change-Id: If57f4f0ba2863ef5ed2d7592d3563a6dd5bee05d
Reviewed-on: https://gerrit.chromium.org/gerrit/38379
Commit-Ready: Chih-Chung Chang <chihchung@chromium.org>
Reviewed-by: Chih-Chung Chang <chihchung@chromium.org>
Tested-by: Chih-Chung Chang <chihchung@chromium.org>
/external/adhd/cras/src/server/cras_expr.c