docs: Include mixers in the class instantiation and usage diagram
This commit is contained in:
parent
38992bcf9c
commit
d774ad90fb
@ -134,17 +134,22 @@ features we wished was there:
|
|||||||
Class instantiation and usage
|
Class instantiation and usage
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
The following diagram shows how Mopidy with the despotify backend is wired
|
The following diagram shows how Mopidy with the despotify backend and ALSA
|
||||||
together. The gray nodes are part of external dependencies, and not Mopidy.
|
mixer is wired together. The gray nodes are part of external dependencies, and
|
||||||
|
not Mopidy.
|
||||||
|
|
||||||
.. digraph:: class_instantiation_and_usage
|
.. digraph:: class_instantiation_and_usage
|
||||||
|
|
||||||
"spytify" [ color="gray" ]
|
"spytify" [ color="gray" ]
|
||||||
"despotify" [ color="gray" ]
|
"despotify" [ color="gray" ]
|
||||||
|
"alsaaudio" [ color="gray" ]
|
||||||
"__main__" -> "MpdServer" [ label="create 1" ]
|
"__main__" -> "MpdServer" [ label="create 1" ]
|
||||||
|
"__main__" -> "AlsaMixer" [ label="create 1" ]
|
||||||
"__main__" -> "DespotifyBackend" [ label="create 1" ]
|
"__main__" -> "DespotifyBackend" [ label="create 1" ]
|
||||||
"MpdServer" -> "MpdSession" [ label="create 1 per client" ]
|
"MpdServer" -> "MpdSession" [ label="create 1 per client" ]
|
||||||
"MpdSession" -> "MpdHandler" [ label="pass MPD requests to" ]
|
"MpdSession" -> "MpdHandler" [ label="pass MPD requests to" ]
|
||||||
"MpdHandler" -> "DespotifyBackend" [ label="use backend API" ]
|
"MpdHandler" -> "DespotifyBackend" [ label="use backend API" ]
|
||||||
"DespotifyBackend" -> "spytify" [ label="use Python wrapper" ]
|
"DespotifyBackend" -> "spytify" [ label="use Python wrapper" ]
|
||||||
"spytify" -> "despotify" [ label="use C library" ]
|
"spytify" -> "despotify" [ label="use C library" ]
|
||||||
|
"DespotifyBackend" -> "AlsaMixer" [ label="use mixer API" ]
|
||||||
|
"AlsaMixer" -> "alsaaudio" [ label="use Python library" ]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user