gainList property

List<int> gainList
getter/setter pair

Gains a real RTL2832U + R820T2 tuner reports, in tenths of a dB — realistic defaults so getGainList() behaves like real hardware without a test having to set it up.

Implementation

List<int> gainList = const [
  0,
  9,
  14,
  27,
  37,
  77,
  87,
  125,
  144,
  157,
  166,
  197,
  207,
  229,
  254,
  280,
  297,
  328,
  338,
  364,
  372,
  386,
  402,
  421,
  434,
  439,
  445,
  480,
  496,
];