audio_modem: update plugin to work with latest version.
Loading the library is now done after creating the interface.
This commit is contained in:
parent
189d211429
commit
50c2efc32a
|
@ -106,10 +106,8 @@ class Plugin(BasePlugin):
|
|||
button.clicked.connect(handler)
|
||||
|
||||
def _audio_interface(self):
|
||||
return amodem.audio.Interface(
|
||||
config=self.modem_config,
|
||||
name=self.library_name
|
||||
)
|
||||
interface = amodem.audio.Interface(config=self.modem_config)
|
||||
return interface.load(self.library_name)
|
||||
|
||||
def _send(self, parent, blob):
|
||||
def sender_thread():
|
||||
|
|
Loading…
Reference in New Issue