Change XXXs to TODO-PYKKA to easier find them again

This commit is contained in:
Stein Magnus Jodal 2011-03-07 22:52:04 +01:00
parent d75ca5b4e8
commit f0fd2c9df2
7 changed files with 7 additions and 7 deletions

View File

@ -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():

View File

@ -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()

View File

@ -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

View File

@ -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

View File

@ -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])

View File

@ -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):

View File

@ -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):