mirror of
https://github.com/Project-Babble/ProjectBabble.git
synced 2026-11-20 00:51:16 -08:00
13 lines
276 B
Python
13 lines
276 B
Python
import os
|
|
import typing
|
|
|
|
is_nt = True if os.name == "nt" else False
|
|
|
|
def PlaySound(*args, **kwargs): pass
|
|
SND_FILENAME = SND_ASYNC = 1
|
|
|
|
if is_nt:
|
|
import winsound
|
|
PlaySound = winsound.PlaySound
|
|
SND_FILENAME = winsound.SND_FILENAME
|
|
SND_ASYNC = winsound.SND_ASYNC |