svolume.orc: avoid parameter loading undefined behaviour
authorWim Taymans <wim.taymans@gmail.com>
Wed, 7 Jan 2015 10:20:01 +0000 (11:20 +0100)
committerArun Raghavan <git@arunraghavan.net>
Mon, 12 Jan 2015 08:26:29 +0000 (13:56 +0530)
commit50186d7fcb37113f94b2d116b445909940114391
treec6717bf692512f5911610b136bfdb40b8ca6cda4
parent112a39fa43217ee48922b78e58d69d57579ae893
svolume.orc: avoid parameter loading undefined behaviour

In some cases, depending on the instruction that performs the load, orc
ignores the size of the parameter when loading it for the first time.
Explicitly load the parameter into a temp to make sure it is loaded
correctly, like we do for the 2ch case.

See https://bugzilla.gnome.org/show_bug.cgi?id=742271
src/pulsecore/svolume.orc