update api
This commit is contained in:
parent
3e69c71ed5
commit
a2d731503f
@ -1,10 +1,11 @@
|
|||||||
from pycsdr import Buffer
|
from pycsdr.modules import Buffer
|
||||||
|
from pycsdr.api import Flow
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class Chain(object):
|
class Chain(Flow):
|
||||||
def __init__(self, *workers):
|
def __init__(self, *workers):
|
||||||
self.input = None
|
self.input = None
|
||||||
self.output = None
|
self.output = None
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
from csdr.chain import Chain
|
from csdr.chain import Chain
|
||||||
from pycsdr import Fft, LogPower, LogAveragePower, FftExchangeSides, CompressFftAdpcm
|
from pycsdr.modules import Fft, LogPower, LogAveragePower, FftExchangeSides, CompressFftAdpcm
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
@ -36,7 +36,7 @@ from owrx.audio import AudioChopper
|
|||||||
from csdr.pipe import Pipe
|
from csdr.pipe import Pipe
|
||||||
from csdr.chain.fft import FftChain
|
from csdr.chain.fft import FftChain
|
||||||
|
|
||||||
from pycsdr import Buffer
|
from pycsdr.modules import Buffer
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ from owrx.command import CommandMapper
|
|||||||
from owrx.socket import getAvailablePort
|
from owrx.socket import getAvailablePort
|
||||||
from owrx.property import PropertyStack, PropertyLayer
|
from owrx.property import PropertyStack, PropertyLayer
|
||||||
|
|
||||||
from pycsdr import SocketClient, Buffer
|
from pycsdr.modules import SocketClient, Buffer
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user