Change XXXs to TODO-PYKKA to easier find them again
This commit is contained in:
parent
d75ca5b4e8
commit
f0fd2c9df2
@ -57,7 +57,7 @@ def setup_mixer():
|
||||
return get_class(settings.MIXER).start_proxy()
|
||||
|
||||
def setup_backend():
|
||||
# XXX Convert backend to one or more actors?
|
||||
# TODO-PYKKA: Convert backend to one or more actors?
|
||||
return get_class(settings.BACKENDS[0])()
|
||||
|
||||
def setup_frontends():
|
||||
|
||||
@ -21,7 +21,7 @@ class MpdFrontend(ThreadingActor, BaseFrontend):
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
# XXX Do setup after actor starts?
|
||||
# TODO-PYKKA: Do setup after actor starts?
|
||||
self._thread = MpdThread()
|
||||
self._thread.start()
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@ class AlsaMixer(ThreadingActor, BaseMixer):
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
# XXX Do mixer detection after actor starts?
|
||||
# PYKKA-TODO: Do mixer detection after actor starts?
|
||||
self._mixer = alsaaudio.Mixer(self._get_mixer_control())
|
||||
assert self._mixer is not None
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ class DenonMixer(ThreadingActor, BaseMixer):
|
||||
Connects using the serial specifications from Denon's RS-232 Protocol
|
||||
specification: 9600bps 8N1.
|
||||
"""
|
||||
# XXX Do setup after actor starts?
|
||||
# TODO-PYKKA: Do setup after actor starts?
|
||||
device = kwargs.get('device', None)
|
||||
if device:
|
||||
self._device = device
|
||||
|
||||
@ -8,7 +8,7 @@ class GStreamerSoftwareMixer(ThreadingActor, BaseMixer):
|
||||
"""Mixer which uses GStreamer to control volume in software."""
|
||||
|
||||
def __init__(self):
|
||||
# XXX Get reference to output without hardcoding GStreamerOutput
|
||||
# TODO-PYKKA Get reference to output without hardcoding GStreamerOutput
|
||||
output_refs = ActorRegistry.get_by_class_name('GStreamerOutput')
|
||||
self.output = ActorProxy(output_refs[0])
|
||||
|
||||
|
||||
@ -75,7 +75,7 @@ class NadTalker(ThreadingActor):
|
||||
def __init__(self):
|
||||
self._device = None
|
||||
|
||||
# XXX Do after actor starts?
|
||||
# TODO-PYKKA: Do after actor starts?
|
||||
self._setup()
|
||||
|
||||
def _setup(self):
|
||||
|
||||
@ -24,7 +24,7 @@ class GStreamerOutput(ThreadingActor, BaseOutput):
|
||||
def __init__(self):
|
||||
self.gst_pipeline = None
|
||||
|
||||
# XXX Run setup after actor starts?
|
||||
# TODO-PYKKA: Run setup after actor starts?
|
||||
self._setup_gstreamer()
|
||||
|
||||
def _setup_gstreamer(self):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user