-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
1.4.0
-
generic
-
generic
01. Get a Pan Control from a line.
02. Get minimum value, maximum value, and precision for the Pan Control.
03. Set up a loop that goes from min value to max value by precision.
04. Each time through the loop, set, then get the value of the Pan Control.
05. Verify that the value returned by getValue equals the value set with setValue.
Partial output from this test follows:
theFloatControlMax: 1.0
theFloatControlMin: -1.0
theFloatControlPrecision: 0.015625
_______________________________________
thePanValueSet: -1.0, thePanValueGot: -1.0 - EQUAL
thePanValueSet: -0.984375, thePanValueGot: -0.98412704 - NOT EQUAL
thePanValueSet: -0.96875, thePanValueGot: -0.968254 - NOT EQUAL
_______________________________________
The output continues like this.
Notice that the second attempted setting is: Minimum + Precision
Note also that although this test fails programmatically, it appears to be doing the right thing sonically. i.e. the sound pans gradually from one speaker to the other.
Code and Complete output is attached.
- relates to
-
JDK-4385654 getPrecision applied to MASTER_GAIN returns -42.1442
-
- Closed
-
-
JDK-4385878 Setting MASTER_GAIN results in incorrect behavior.
-
- Closed
-