diff options
Diffstat (limited to 'design.tex')
-rw-r--r-- | design.tex | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,12 +45,12 @@ workflows. \Cref{fig:class-audio-facade} shows a class diagram of the audio fa\c{c}ade. It contains the following classes: \begin{description} - \item[SoundSystem] This is a wrapper around the \codeinline{SoLoud::soloud} + \item[SoundContext] This is a wrapper around the \codeinline{SoLoud::soloud} `engine' class, and is therefore implemented as a singleton. This ensures the audio engine is initialized before \codeinline{Sound} is able to use it. This class is friends with \codeinline{Sound}, so only \codeinline{Sound} is able - to get the \codeinline{SoundSystem} instance. + to get the \codeinline{SoundContext} instance. \item[Sound] This is a wrapper around the \codeinline{SoLoud::Wav} class, and uses cr\^epe's \codeinline{api::Resource} class to load an audio sample instead. \end{description} |