mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 02:35:20 +00:00
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
1 changed files with 2 additions and 4 deletions
|
@ -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():
|
||||||
|
|
Loading…
Add table
Reference in a new issue