libfishsound  1.0.0
constants.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 
33 #ifndef __FISH_SOUND_CONSTANTS_H__
34 #define __FISH_SOUND_CONSTANTS_H__
35 
41 typedef enum _FishSoundMode {
44 
48 
50 typedef enum _FishSoundCodecID {
53 
56 
59 
63 
65 typedef enum _FishSoundStopCtl {
68 
71 
75 
77 typedef enum _FishSoundCommand {
80 
83 
86 
89 
90  FISH_SOUND_SET_ENCODE_VBR = 0x4000,
91 
92  FISH_SOUND_COMMAND_MAX
94 
96 typedef enum _FishSoundError {
99 
102 
105 
108 
111 
114 
117 
121 
122 #endif /* __FISH_SOUND_CONSTANTS_H__ */
Decode.
Definition: constants.h:43
_FishSoundCommand
Command codes.
Definition: constants.h:77
enum _FishSoundCommand FishSoundCommand
Command codes.
The requested operation is not suitable for this FishSound* handle.
Definition: constants.h:107
Not a valid FishSound* handle.
Definition: constants.h:104
Encode.
Definition: constants.h:46
Out of memory.
Definition: constants.h:110
_FishSoundStopCtl
Decode callback return values.
Definition: constants.h:65
Flac.
Definition: constants.h:61
enum _FishSoundStopCtl FishSoundStopCtl
Decode callback return values.
enum _FishSoundMode FishSoundMode
Mode of operation (encode or decode)
Vorbis.
Definition: constants.h:55
Unknown.
Definition: constants.h:52
Continue calling decode callbacks.
Definition: constants.h:67
_FishSoundError
Error values.
Definition: constants.h:96
Stop calling callbacks, but retain buffered data.
Definition: constants.h:70
Too few bytes passed to fish_sound_identify()
Definition: constants.h:116
No operation.
Definition: constants.h:79
_FishSoundCodecID
Identifiers for supported codecs.
Definition: constants.h:50
Comment violates VorbisComment restrictions.
Definition: constants.h:119
Speex.
Definition: constants.h:58
No error.
Definition: constants.h:98
_FishSoundMode
Mode of operation (encode or decode)
Definition: constants.h:41
Set to 1 to interleave, 0 to non-interleave.
Definition: constants.h:88
enum _FishSoundError FishSoundError
Error values.
enum _FishSoundCodecID FishSoundCodecID
Identifiers for supported codecs.
Stop calling callbacks, and purge buffered data.
Definition: constants.h:73
Functionality disabled at build time.
Definition: constants.h:113
Retrieve the FishSoundInfo.
Definition: constants.h:82
generic error
Definition: constants.h:101
Query if multichannel audio should be interpreted as interleaved.
Definition: constants.h:85