robotastic / trunk-recorder

Records calls from a Trunked Radio System (P25 & SmartNet)
GNU General Public License v3.0
863 stars 192 forks source link

rate checker seems less than ideal #912

Closed ZeroChaos- closed 8 months ago

ZeroChaos- commented 8 months ago

re: https://github.com/robotastic/trunk-recorder/commit/01b68244620cb0a7fceca02841423558146a440f I have no issues in theory with checking that my rate is evenly divisible by 24000, but...

when I input 1680000 (70x24000) or 1656000 (69x24000) I get an error:

OsmoSDR must have a sample rate that is a multiple of 24000, current rate: 1.6e+06 for device: rtl_tcp=127.0.0.1:12342
ZeroChaos- commented 8 months ago

this was caused by me adjusting the rate for rtl_tcp but not in the trunk-recorder json. your code is fine