restore aprs functionality
This commit is contained in:
@ -5,6 +5,7 @@ from owrx.audio import ProfileSourceSubscriber
|
||||
from owrx.audio.wav import AudioWriter
|
||||
from owrx.audio.queue import QueueJob
|
||||
from csdr.module import Module
|
||||
from pycsdr.types import Format
|
||||
import pickle
|
||||
|
||||
import logging
|
||||
@ -27,6 +28,12 @@ class AudioChopper(threading.Thread, Module, ProfileSourceSubscriber):
|
||||
super().__init__()
|
||||
Module.__init__(self)
|
||||
|
||||
def getInputFormat(self) -> Format:
|
||||
return Format.SHORT
|
||||
|
||||
def getOutputFormat(self) -> Format:
|
||||
return Format.CHAR
|
||||
|
||||
def stop_writers(self):
|
||||
while self.writers:
|
||||
self.writers.pop().stop()
|
||||
|
Reference in New Issue
Block a user