Implemented audio play
This commit is contained in:
@ -1 +1,12 @@
|
||||
import alsaaudio
|
||||
from playsound import playsound
|
||||
|
||||
|
||||
class BirbnetesIoTPlatformPlaybackDriver:
|
||||
|
||||
@classmethod
|
||||
def init(cls):
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def play_audio(cls, audiofile: str):
|
||||
playsound(audiofile)
|
||||
|
Reference in New Issue
Block a user