summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorWang Zidan <b50113@freescale.com>2014-08-04 11:21:12 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-06 10:03:20 +0100
commit9a923b9191676663477956809b44397d61b0a680 (patch)
tree34c6706c09ab730b00d6e0f44db367332f8f031b /bitbake
parentaa5fa26239c53c8d431805b3948da3848328b346 (diff)
downloadpoky-9a923b9191676663477956809b44397d61b0a680.tar.gz
alsa-lib: use get32_labels for multi-source
The PCM route plugin can assign the destination value from average of multiple sources with attenuation. This requires the read of each channel value, sums and writes the resultant value in the requested format. get_labels gives the value as is only with endianness and signedness conversions, but put32_labels assumes that the value is normalized to 32bit int and it shifts down to the dest format. In addition, the current code lacks get_labels entries for the 24bit formats. For fixing these bugs, this patch replaces the read with get32_labels and use always 64bit int for sum. (From OE-Core rev: aef6f71e68c3ef1d662cda237d85307142a997be) Signed-off-by: Wang Zidan <b50113@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
0 files changed, 0 insertions, 0 deletions