%Copyright (C) 2007-2015  Brian Langenberger
%This work is licensed under the
%Creative Commons Attribution-Share Alike 3.0 United States License.
%To view a copy of this license, visit
%http://creativecommons.org/licenses/by-sa/3.0/us/ or send a letter to
%Creative Commons,
%171 Second Street, Suite 300,
%San Francisco, California, 94105, USA.

\chapter{Ogg FLAC}
Ogg FLAC is a FLAC audio stream in an Ogg container.

\section{the Ogg FLAC File Stream}
\begin{figure}[h]
\includegraphics{figures/oggflac_stream.pdf}
\end{figure}
\par
\noindent
Subsequent FLAC metadata blocks are stored 1 per packet.
Each contains the 32-bit FLAC metadata block header
in addition to the metadata itself.
The \texttt{VORBIS\_COMMENT} metadata block is required to immediately
follow the \texttt{STREAMINFO} block, but all others may appear in
any order.
