mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +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)
|
||||
|
||||
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…
Add table
Reference in a new issue