Calliope/audio.py

changeset 10
f34fe5abe069
diff -r 843f5ea906d7 -r f34fe5abe069 Calliope/audio.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Calliope/audio.py	Wed Apr 29 18:26:18 2020 +0200
@@ -0,0 +1,23 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module containing stubs for API generation of the 'audio' module.
+"""
+
+from microbit import pin0
+
+def is_playing():
+    pass
+
+def play(source, wait=True, pin=pin0, return_pin=None):
+    pass
+
+def stop():
+    pass
+
+class AudioFrame():
+    def __init__(self):
+        pass

eric ide

mercurial