liboggplay  0.3.0
oggplay_enums.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2003 Commonwealth Scientific and Industrial Research
3  Organisation (CSIRO) Australia
4 
5  Redistribution and use in source and binary forms, with or without
6  modification, are permitted provided that the following conditions
7  are met:
8 
9  - Redistributions of source code must retain the above copyright
10  notice, this list of conditions and the following disclaimer.
11 
12  - Redistributions in binary form must reproduce the above copyright
13  notice, this list of conditions and the following disclaimer in the
14  documentation and/or other materials provided with the distribution.
15 
16  - Neither the name of CSIRO Australia nor the names of its
17  contributors may be used to endorse or promote products derived from
18  this software without specific prior written permission.
19 
20  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
23  PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
24  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32 
42 #ifndef OGGPLAY_ENUMS_HEADER
43 #define OGGPLAY_ENUMS_HEADER
44 
48 typedef enum OggPlayErrorCode {
49  E_OGGPLAY_CONTINUE = 1,
54  E_OGGPLAY_NO_SUCH_CHUNK = -4,
61  E_OGGPLAY_WRONG_TRACK_TYPE = -11,
75  E_OGGPLAY_NOTCHICKENPAYBACK = -777
77 
81 typedef enum OggPlayDataType {
87  OGGPLAY_CMML = 2000,
88  OGGPLAY_KATE = 3000,
91 
95 typedef enum OggPlayStreamInfo {
102 
103 #endif /* OGGPLAY_ENUMS_HEADER */
OggPlay is used in buffer mode.
Definition: oggplay_enums.h:64
Integer overflow detected.
Definition: oggplay_enums.h:72
Track is not initialised, i.e.
Definition: oggplay_enums.h:74
No error.
Definition: oggplay_enums.h:50
Invalid OggPlayCallbackInfo.
Definition: oggplay_enums.h:60
Error while creating socket.
Definition: oggplay_enums.h:66
OggPlayReader is invalid.
Definition: oggplay_enums.h:52
We've just seeked in the stream.
Definition: oggplay_enums.h:100
Stream is initialised.
Definition: oggplay_enums.h:98
Trying to activate a Skeleton track.
Definition: oggplay_enums.h:56
The requested track number does not exists.
Definition: oggplay_enums.h:55
audio record in float format
Definition: oggplay_enums.h:86
Stream is not initialised.
Definition: oggplay_enums.h:96
The selected track's content type is UNKNOWN.
Definition: oggplay_enums.h:73
A given track has ended.
Definition: oggplay_enums.h:59
KATE record.
Definition: oggplay_enums.h:88
OggPlay is used in callback mode.
Definition: oggplay_enums.h:63
audio record in short format
Definition: oggplay_enums.h:85
LibKate is not supported.
Definition: oggplay_enums.h:69
content type of the record is unknown
Definition: oggplay_enums.h:89
User interrupt received.
Definition: oggplay_enums.h:65
Error in the input.
Definition: oggplay_enums.h:53
End of file.
Definition: oggplay_enums.h:58
LibTiger is not supported.
Definition: oggplay_enums.h:70
OggPlayErrorCode
Definitions of error return values.
Definition: oggplay_enums.h:48
Out of memory.
Definition: oggplay_enums.h:71
OggPlayDataType
Definitions of the various record types.
Definition: oggplay_enums.h:81
Could not performed the requested seek.
Definition: oggplay_enums.h:68
Stream received it's first data frame.
Definition: oggplay_enums.h:97
The OggPlay handle is not initialised.
Definition: oggplay_enums.h:62
record is a YUV format video
Definition: oggplay_enums.h:83
record is a video in RGB format
Definition: oggplay_enums.h:84
record is inactive
Definition: oggplay_enums.h:82
TCP connection timeouted.
Definition: oggplay_enums.h:67
CMML record.
Definition: oggplay_enums.h:87
supplied oggplay is not a valid OggPlay
Definition: oggplay_enums.h:51
OGGZ error occured.
Definition: oggplay_enums.h:57
OggPlayStreamInfo
Definitions of the various states of a stream.
Definition: oggplay_enums.h:95
Stream received it's last data frame.
Definition: oggplay_enums.h:99