1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Check if pysolsoundserver is available

This commit is contained in:
Roderik Ploszek 2018-03-10 15:27:39 +01:00
parent 57351e808b
commit 08f5fd99c1

View file

@ -38,6 +38,7 @@ from pysollib.pysolaudio import AbstractAudioClient, \
PysolSoundServerModuleClient
from pysollib.pysolaudio import Win32AudioClient, OSSAudioClient, \
PyGameAudioClient, KivyAudioClient
from pysollib.pysolaudio import pysolsoundserver
from pysollib.settings import TITLE, SOUND_MOD, TOOLKIT
from pysollib.winsystems import init_root_window
@ -268,7 +269,8 @@ def pysol_init(app, args):
snd.append(PyGameAudioClient)
if TOOLKIT == 'kivy':
snd.append(KivyAudioClient)
snd.append(PysolSoundServerModuleClient)
if pysolsoundserver:
snd.append(PysolSoundServerModuleClient)
snd.append(OSSAudioClient)
snd.append(Win32AudioClient)
snd.append(AbstractAudioClient)