Merge pull request #989 from romanz/master
audio_modem: update plugin to work with latest version.
This commit is contained in:
@@ -106,10 +106,8 @@ class Plugin(BasePlugin):
|
|||||||
button.clicked.connect(handler)
|
button.clicked.connect(handler)
|
||||||
|
|
||||||
def _audio_interface(self):
|
def _audio_interface(self):
|
||||||
return amodem.audio.Interface(
|
interface = amodem.audio.Interface(config=self.modem_config)
|
||||||
config=self.modem_config,
|
return interface.load(self.library_name)
|
||||||
name=self.library_name
|
|
||||||
)
|
|
||||||
|
|
||||||
def _send(self, parent, blob):
|
def _send(self, parent, blob):
|
||||||
def sender_thread():
|
def sender_thread():
|
||||||
|
|||||||
Reference in New Issue
Block a user