File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
internal_filesystem/apps/com.micropythonos.musicplayer/assets Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,6 @@ def set_volume(cls, volume: int):
5959 """Set playback volume 0-100 (100 = full scale)."""
6060 volume = max (0 , min (100 , volume )) # clamp
6161 cls ._volume = volume
62- # If playback is already running we could instantly re-scale the
63- # current buffer, but the simple way (scale on each write) is
64- # enough and works even if playback starts later.
6562
6663 @classmethod
6764 def get_volume (cls ) -> int :
@@ -73,9 +70,6 @@ def stop_playing():
7370 print ("stop_playing()" )
7471 AudioPlayer ._keep_running = False
7572
76- # ------------------------------------------------------------------
77- # Playback entry point (called from a thread)
78- # ------------------------------------------------------------------
7973 @classmethod
8074 def play_wav (cls , filename ):
8175 AudioPlayer ._keep_running = True
You can’t perform that action at this time.
0 commit comments