Audio support provides a way for upstream protocols to interact with the
Audio support provides a way for upstream protocols to interact with the
selected hardware and audio resources. All audio resources should reside
selected hardware and audio resources. All audio resources should reside
in \texttt{\textbackslash EFI\textbackslash OC\textbackslash Resources\textbackslash Audio}
in \texttt{\textbackslash EFI\textbackslash OC\textbackslash Resources\textbackslash Audio}
directory. Currently the only supported audio file format is WAVE PCM. While it is
directory. Currently the \DIFdelbegin\DIFdel{only }\DIFdelend supported audio file \DIFdelbegin\DIFdel{format is }\DIFdelend\DIFaddbegin\DIFadd{formats are MP3 and }\DIFaddend WAVE PCM. While it is
driver-dependent which audio stream format is supported, most common audio cards
driver-dependent which audio stream format is supported, most common audio cards
support 16-bit signed stereo audio at 44100 or 48000 Hz.
support 16-bit signed stereo audio at 44100 or 48000 Hz.
Audio file path is determined by audio type, audio localisation, and audio path. Each filename
Audio file path is determined by audio type, audio localisation, and audio path. Each filename
looks as follows: \texttt{[audio type]\_[audio localisation]\_[audio path].wav}. For unlocalised
looks as follows: \texttt{[audio type]\_[audio localisation]\_[audio path].\DIFdelbegin\DIFdel{wav}\DIFdelend\DIFaddbegin[\DIFadd{audio ext}]\DIFaddend}.
files filename does not include the language code and looks as follows:
For unlocalised files filename does not include the language code and looks as follows:
\texttt{[audio type]\_[audio path].wav}.
\texttt{[audio type]\_[audio path].\DIFdelbegin\DIFdel{wav}\DIFdelend\DIFaddbegin[\DIFadd{audio ext}]\DIFaddend}. \DIFaddbegin\DIFadd{Audio extension can either be }\texttt{\DIFadd{mp3}}
The only exception is OpenCore boot chime file, which is \texttt{OCEFIAudio\_VoiceOver\_Boot.wav}.
The only exception is OpenCore boot chime file, which is \texttt{OCEFIAudio\_VoiceOver\_Boot.\DIFdelbegin\DIFdel{wav}\DIFdelend\DIFaddbegin\DIFadd{mp3}\DIFaddend}.
\end{itemize}
\end{itemize}
Audio localisation is determined separately for macOS bootloader and OpenCore.
Audio localisation is determined separately for macOS bootloader and OpenCore.