update copyright date to include 2002
[platform/upstream/flac.git] / src / libFLAC / include / protected / stream_decoder.h
1 /* libFLAC - Free Lossless Audio Codec library
2  * Copyright (C) 2000,2001,2002  Josh Coalson
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA  02111-1307, USA.
18  */
19
20 #ifndef FLAC__PROTECTED__STREAM_DECODER_H
21 #define FLAC__PROTECTED__STREAM_DECODER_H
22
23 #include "FLAC/stream_decoder.h"
24
25 typedef struct FLAC__StreamDecoderProtected {
26         FLAC__StreamDecoderState state;
27         unsigned channels;
28         FLAC__ChannelAssignment channel_assignment;
29         unsigned bits_per_sample;
30         unsigned sample_rate; /* in Hz */
31         unsigned blocksize; /* in samples (per channel) */
32 } FLAC__StreamDecoderProtected;
33
34 /*
35  * return the number of input bytes consumed
36  */
37 unsigned FLAC__stream_decoder_get_input_bytes_unconsumed(const FLAC__StreamDecoder *decoder);
38
39 #endif