\doxysection{oggz\+\_\+constants.\+h}
\label{oggz__constants_8h_source}\index{oggz\_constants.h@{oggz\_constants.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{comment}{/*}}
\DoxyCodeLine{2 \textcolor{comment}{   Copyright (C) 2003 Commonwealth Scientific and Industrial Research}}
\DoxyCodeLine{3 \textcolor{comment}{   Organisation (CSIRO) Australia}}
\DoxyCodeLine{4 \textcolor{comment}{}}
\DoxyCodeLine{5 \textcolor{comment}{   Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{6 \textcolor{comment}{   modification, are permitted provided that the following conditions}}
\DoxyCodeLine{7 \textcolor{comment}{   are met:}}
\DoxyCodeLine{8 \textcolor{comment}{}}
\DoxyCodeLine{9 \textcolor{comment}{   -\/ Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{10 \textcolor{comment}{   notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{11 \textcolor{comment}{}}
\DoxyCodeLine{12 \textcolor{comment}{   -\/ Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{13 \textcolor{comment}{   notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{14 \textcolor{comment}{   documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{15 \textcolor{comment}{}}
\DoxyCodeLine{16 \textcolor{comment}{   -\/ Neither the name of CSIRO Australia nor the names of its}}
\DoxyCodeLine{17 \textcolor{comment}{   contributors may be used to endorse or promote products derived from}}
\DoxyCodeLine{18 \textcolor{comment}{   this software without specific prior written permission.}}
\DoxyCodeLine{19 \textcolor{comment}{}}
\DoxyCodeLine{20 \textcolor{comment}{   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS}}
\DoxyCodeLine{21 \textcolor{comment}{   ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT}}
\DoxyCodeLine{22 \textcolor{comment}{   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A}}
\DoxyCodeLine{23 \textcolor{comment}{   PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE ORGANISATION OR}}
\DoxyCodeLine{24 \textcolor{comment}{   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,}}
\DoxyCodeLine{25 \textcolor{comment}{   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,}}
\DoxyCodeLine{26 \textcolor{comment}{   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR}}
\DoxyCodeLine{27 \textcolor{comment}{   PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF}}
\DoxyCodeLine{28 \textcolor{comment}{   LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING}}
\DoxyCodeLine{29 \textcolor{comment}{   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS}}
\DoxyCodeLine{30 \textcolor{comment}{   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.}}
\DoxyCodeLine{31 \textcolor{comment}{*/}}
\DoxyCodeLine{32 }
\DoxyCodeLine{33 \textcolor{preprocessor}{\#ifndef \_\_OGGZ\_CONSTANTS\_H\_\_}}
\DoxyCodeLine{34 \textcolor{preprocessor}{\#define \_\_OGGZ\_CONSTANTS\_H\_\_}}
\DoxyCodeLine{35 }
\DoxyCodeLine{46 \textcolor{keyword}{enum} OggzFlags \{}
\DoxyCodeLine{48   OGGZ\_READ         = 0x00,}
\DoxyCodeLine{49 }
\DoxyCodeLine{51   OGGZ\_WRITE        = 0x01,}
\DoxyCodeLine{52 }
\DoxyCodeLine{55   OGGZ\_NONSTRICT    = 0x10,}
\DoxyCodeLine{56 }
\DoxyCodeLine{63   OGGZ\_AUTO         = 0x20,}
\DoxyCodeLine{64 }
\DoxyCodeLine{70   OGGZ\_PREFIX       = 0x40,}
\DoxyCodeLine{71 }
\DoxyCodeLine{77   OGGZ\_SUFFIX       = 0x80}
\DoxyCodeLine{78 }
\DoxyCodeLine{79 \};}
\DoxyCodeLine{80 }
\DoxyCodeLine{81 \textcolor{keyword}{enum} OggzStopCtl \{}
\DoxyCodeLine{83   OGGZ\_CONTINUE     = 0,}
\DoxyCodeLine{84 }
\DoxyCodeLine{86   OGGZ\_STOP\_OK      = 1,}
\DoxyCodeLine{87 }
\DoxyCodeLine{89   OGGZ\_STOP\_ERR     = -\/1}
\DoxyCodeLine{90 \};}
\DoxyCodeLine{91 }
\DoxyCodeLine{95 \textcolor{keyword}{enum} OggzFlushOpts \{}
\DoxyCodeLine{97   OGGZ\_FLUSH\_BEFORE = 0x01,}
\DoxyCodeLine{98 }
\DoxyCodeLine{100   OGGZ\_FLUSH\_AFTER  = 0x02}
\DoxyCodeLine{101 \};}
\DoxyCodeLine{102 }
\DoxyCodeLine{106 \textcolor{keyword}{typedef} \textcolor{keyword}{enum} OggzStreamContent \{}
\DoxyCodeLine{107   OGGZ\_CONTENT\_THEORA = 0,}
\DoxyCodeLine{108   OGGZ\_CONTENT\_VORBIS,}
\DoxyCodeLine{109   OGGZ\_CONTENT\_SPEEX,}
\DoxyCodeLine{110   OGGZ\_CONTENT\_PCM,}
\DoxyCodeLine{111   OGGZ\_CONTENT\_CMML,}
\DoxyCodeLine{112   OGGZ\_CONTENT\_ANX2,}
\DoxyCodeLine{113   OGGZ\_CONTENT\_SKELETON,}
\DoxyCodeLine{114   OGGZ\_CONTENT\_FLAC0,}
\DoxyCodeLine{115   OGGZ\_CONTENT\_FLAC,}
\DoxyCodeLine{116   OGGZ\_CONTENT\_ANXDATA,}
\DoxyCodeLine{117   OGGZ\_CONTENT\_CELT,}
\DoxyCodeLine{118   OGGZ\_CONTENT\_KATE,}
\DoxyCodeLine{119   OGGZ\_CONTENT\_DIRAC,}
\DoxyCodeLine{120   OGGZ\_CONTENT\_UNKNOWN}
\DoxyCodeLine{121 \} OggzStreamContent;}
\DoxyCodeLine{122 }
\DoxyCodeLine{126 \textcolor{keyword}{enum} OggzError \{}
\DoxyCodeLine{128   OGGZ\_ERR\_OK                           = 0,}
\DoxyCodeLine{129 }
\DoxyCodeLine{131   OGGZ\_ERR\_GENERIC                      = -\/1,}
\DoxyCodeLine{132 }
\DoxyCodeLine{134   OGGZ\_ERR\_BAD\_OGGZ                     = -\/2,}
\DoxyCodeLine{135 }
\DoxyCodeLine{137   OGGZ\_ERR\_INVALID                      = -\/3,}
\DoxyCodeLine{138 }
\DoxyCodeLine{140   OGGZ\_ERR\_NO\_STREAMS                   = -\/4,}
\DoxyCodeLine{141 }
\DoxyCodeLine{143   OGGZ\_ERR\_BOS                          = -\/5,}
\DoxyCodeLine{144 }
\DoxyCodeLine{146   OGGZ\_ERR\_EOS                          = -\/6,}
\DoxyCodeLine{147 }
\DoxyCodeLine{149   OGGZ\_ERR\_BAD\_METRIC                   = -\/7,}
\DoxyCodeLine{150 }
\DoxyCodeLine{152   OGGZ\_ERR\_SYSTEM                       = -\/10,}
\DoxyCodeLine{153 }
\DoxyCodeLine{155   OGGZ\_ERR\_DISABLED                     = -\/11,}
\DoxyCodeLine{156 }
\DoxyCodeLine{158   OGGZ\_ERR\_NOSEEK                       = -\/13,}
\DoxyCodeLine{159 }
\DoxyCodeLine{163   OGGZ\_ERR\_STOP\_OK                      = -\/14,}
\DoxyCodeLine{164 }
\DoxyCodeLine{168   OGGZ\_ERR\_STOP\_ERR                     = -\/15,}
\DoxyCodeLine{169 }
\DoxyCodeLine{171   OGGZ\_ERR\_IO\_AGAIN                     = -\/16,}
\DoxyCodeLine{172 }
\DoxyCodeLine{174   OGGZ\_ERR\_HOLE\_IN\_DATA                 = -\/17,}
\DoxyCodeLine{175 }
\DoxyCodeLine{177   OGGZ\_ERR\_OUT\_OF\_MEMORY                = -\/18,}
\DoxyCodeLine{178 }
\DoxyCodeLine{180   OGGZ\_ERR\_BAD\_SERIALNO                 = -\/20,}
\DoxyCodeLine{181 }
\DoxyCodeLine{183   OGGZ\_ERR\_BAD\_BYTES                    = -\/21,}
\DoxyCodeLine{184 }
\DoxyCodeLine{186   OGGZ\_ERR\_BAD\_B\_O\_S                    = -\/22,}
\DoxyCodeLine{187 }
\DoxyCodeLine{189   OGGZ\_ERR\_BAD\_E\_O\_S                    = -\/23,}
\DoxyCodeLine{190 }
\DoxyCodeLine{192   OGGZ\_ERR\_BAD\_GRANULEPOS               = -\/24,}
\DoxyCodeLine{193 }
\DoxyCodeLine{195   OGGZ\_ERR\_BAD\_PACKETNO                 = -\/25,}
\DoxyCodeLine{196 }
\DoxyCodeLine{198   \textcolor{comment}{/* 129 == 0x81 is the frame marker for Theora's comments page ;-\/) */}}
\DoxyCodeLine{199   OGGZ\_ERR\_COMMENT\_INVALID              = -\/129,}
\DoxyCodeLine{200 }
\DoxyCodeLine{202   OGGZ\_ERR\_BAD\_GUARD                    = -\/210,}
\DoxyCodeLine{203 }
\DoxyCodeLine{206   OGGZ\_ERR\_RECURSIVE\_WRITE              = -\/266}
\DoxyCodeLine{207 \};}
\DoxyCodeLine{208 }
\DoxyCodeLine{209 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_\_OGGZ\_CONSTANTS\_H\_\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
