When originally created, this example output its value as a percentage, from 0 to 100.
When the ability to add metadata to the SKOutput constructor was added, the example had ratio added as its unit in the metadata:
->connect_to(new SKOutputNumber(sk_path, "", new SKMetadata("ratio")));
So I think the linear transform's multiplier value needs to be changed from 0.137 to 0.00137. @mairas - if this seems right to you, I'll make the change and the PR.
When originally created, this example output its value as a percentage, from 0 to 100.
When the ability to add metadata to the SKOutput constructor was added, the example had
ratio
added as itsunit
in the metadata:->connect_to(new SKOutputNumber(sk_path, "", new SKMetadata("ratio")));
So I think the
linear
transform'smultiplier
value needs to be changed from0.137
to0.00137
. @mairas - if this seems right to you, I'll make the change and the PR.