softwaremixer: Update comment after audio refactoring
This commit is contained in:
parent
3cb9eb52f0
commit
07f2d46ccf
@ -28,9 +28,9 @@ class SoftwareMixer(pykka.ThreadingActor, mixer.Mixer):
|
|||||||
self._audio_mixer = mixer_ref
|
self._audio_mixer = mixer_ref
|
||||||
|
|
||||||
# The Mopidy startup procedure will set the initial volume of a
|
# The Mopidy startup procedure will set the initial volume of a
|
||||||
# mixer, but this happens before the audio actor is injected into the
|
# mixer, but this happens before the audio actor's mixer is injected
|
||||||
# software mixer and has no effect. Thus, we need to set the initial
|
# into the software mixer actor and has no effect. Thus, we need to set
|
||||||
# volume again.
|
# the initial volume again.
|
||||||
if self._initial_volume is not None:
|
if self._initial_volume is not None:
|
||||||
self.set_volume(self._initial_volume)
|
self.set_volume(self._initial_volume)
|
||||||
if self._initial_mute is not None:
|
if self._initial_mute is not None:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user