kenenet 1.1.4__py3-none-any.whl → 1.1.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kenenet/__init__.py +3 -1
- {kenenet-1.1.4.dist-info → kenenet-1.1.5.dist-info}/METADATA +1 -1
- kenenet-1.1.5.dist-info/RECORD +5 -0
- kenenet-1.1.4.dist-info/RECORD +0 -5
- {kenenet-1.1.4.dist-info → kenenet-1.1.5.dist-info}/WHEEL +0 -0
- {kenenet-1.1.4.dist-info → kenenet-1.1.5.dist-info}/top_level.txt +0 -0
kenenet/__init__.py
CHANGED
@@ -208,7 +208,7 @@ import time
|
|
208
208
|
import zhmiscellany
|
209
209
|
|
210
210
|
|
211
|
-
class
|
211
|
+
class _load_audio:
|
212
212
|
def __init__(self):
|
213
213
|
pygame.mixer.init()
|
214
214
|
self.handles = []
|
@@ -301,6 +301,8 @@ class load_audio:
|
|
301
301
|
handle = self.SoundHandle(thread, stop_event, channel)
|
302
302
|
self.handles.append(handle)
|
303
303
|
return handle
|
304
|
+
|
305
|
+
play_audio = _load_audio()
|
304
306
|
|
305
307
|
def time_func(func, loop=10000, *args, **kwargs):
|
306
308
|
func_name = getattr(func, '__name__', repr(func))
|
@@ -0,0 +1,5 @@
|
|
1
|
+
kenenet/__init__.py,sha256=tMVkB3fPhXYdNC__SMFyruGjtNgeNO7puOj-Du3xQEY,21197
|
2
|
+
kenenet-1.1.5.dist-info/METADATA,sha256=XNihhj3UoeWBGCeXFPOXis_hMsIngKMojvcRUO4qvSg,1693
|
3
|
+
kenenet-1.1.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
+
kenenet-1.1.5.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
|
5
|
+
kenenet-1.1.5.dist-info/RECORD,,
|
kenenet-1.1.4.dist-info/RECORD
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
kenenet/__init__.py,sha256=5-SKuJjlAWkWWuiU9_kt-DAYtShtvdCzUMdRaRzM1W8,21162
|
2
|
-
kenenet-1.1.4.dist-info/METADATA,sha256=WXWFu4xBAQEVIFY99rlDoM82hNNX7DzWVgUGGlEz5BU,1693
|
3
|
-
kenenet-1.1.4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
-
kenenet-1.1.4.dist-info/top_level.txt,sha256=gUsWXLrM0jF4b4nbYJZdksdFewIx_F3xOF-zER8fMuQ,8
|
5
|
-
kenenet-1.1.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|