Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
lDEVinux
GitHub Repository: lDEVinux/eaglercraft
Path: blob/main/src/lwjgl/java/javazoom/jl/decoder/DecoderErrors.java
8650 views
1
/*
2
* 09/26/08 throw exception on subbband alloc error: Christopher G. Jennings ([email protected])
3
* 11/19/04 1.0 moved to LGPL.
4
* 01/12/99 Initial version. [email protected]
5
*-----------------------------------------------------------------------
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU Library General Public License as published
8
* by the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU Library General Public License for more details.
15
*
16
* You should have received a copy of the GNU Library General Public
17
* License along with this program; if not, write to the Free Software
18
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
*----------------------------------------------------------------------
20
*/
21
22
package javazoom.jl.decoder;
23
24
/**
25
* This interface provides constants describing the error
26
* codes used by the Decoder to indicate errors.
27
*
28
* @author MDM
29
*/
30
public interface DecoderErrors extends JavaLayerErrors
31
{
32
33
public static final int UNKNOWN_ERROR = DECODER_ERROR + 0;
34
35
/**
36
* Layer not supported by the decoder.
37
*/
38
public static final int UNSUPPORTED_LAYER = DECODER_ERROR + 1;
39
40
/**
41
* Illegal allocation in subband layer. Indicates a corrupt stream.
42
*/
43
public static final int ILLEGAL_SUBBAND_ALLOCATION = DECODER_ERROR + 2;
44
45
}
46
47