Wideband autonomous SDR analysis engine forked from sdr-visual-suite
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

15 行
325B

  1. package recorder
  2. import (
  3. "errors"
  4. "sdr-visual-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. }