CircuitPython/audioio.py

changeset 7
e336d6afc5a6
parent 6
81a2208f13e4
equal deleted inserted replaced
6:81a2208f13e4 7:e336d6afc5a6
6 """ 6 """
7 Module containing stubs for API generation of the 'audioio' module. 7 Module containing stubs for API generation of the 'audioio' module.
8 """ 8 """
9 9
10 class AudioOut(): 10 class AudioOut():
11 playing = 0
12 paused = 0
13
11 def __init__(self, left_channel, *, right_channel=None, 14 def __init__(self, left_channel, *, right_channel=None,
12 quiescent_value=0x8000): 15 quiescent_value=0x8000):
13 pass 16 pass
14 17
15 def deinit(self): 18 def deinit(self):
19 pass 22 pass
20 23
21 def stop(self): 24 def stop(self):
22 pass 25 pass
23 26
24 @property
25 def playing(self):
26 pass
27
28 def pause(self): 27 def pause(self):
29 pass 28 pass
30 29
31 def resume(self): 30 def resume(self):
32 pass 31 pass
33
34 @property
35 def paused(self):
36 pass

eric ide

mercurial