Wideband autonomous SDR analysis engine forked from sdr-visual-suite
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

15 wiersze
327B

  1. package recorder
  2. import (
  3. "errors"
  4. "sdr-wideband-suite/internal/decoder"
  5. )
  6. func DecodeOnDemand(cmd string, iqPath string, sampleRate int, audioPath string) (decoder.Result, error) {
  7. if cmd == "" {
  8. return decoder.Result{}, errors.New("decoder command empty")
  9. }
  10. return decoder.Run(cmd, iqPath, sampleRate, audioPath)
  11. }