split most of FileDecoder off to new SeekableStreamDecoder

This commit is contained in:
Josh Coalson
2001-11-08 23:59:22 +00:00
parent 53ad911a1d
commit dbd84c48e5
13 changed files with 1398 additions and 687 deletions

View File

@@ -18,5 +18,6 @@
noinst_HEADERS = \
file_decoder.h \
seekable_stream_decoder.h \
stream_decoder.h \
stream_encoder.h

View File

@@ -21,6 +21,7 @@
#define FLAC__PROTECTED__ALL_H
#include "file_decoder.h"
#include "seekable_stream_decoder.h"
#include "stream_decoder.h"
#include "stream_encoder.h"

View File

@@ -23,7 +23,6 @@
#include "FLAC/file_decoder.h"
typedef struct FLAC__FileDecoderProtected {
FLAC__bool md5_checking; /* if true, generate MD5 signature of decoded data and compare against signature in the Encoding metadata block */
FLAC__FileDecoderState state;
} FLAC__FileDecoderProtected;

View File

@@ -0,0 +1,30 @@
/* libFLAC - Free Lossless Audio Codec library
* Copyright (C) 2000,2001 Josh Coalson
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef FLAC__PROTECTED__SEEKABLE_STREAM_DECODER_H
#define FLAC__PROTECTED__SEEKABLE_STREAM_DECODER_H
#include "FLAC/seekable_stream_decoder.h"
typedef struct FLAC__SeekableStreamDecoderProtected {
FLAC__bool md5_checking; /* if true, generate MD5 signature of decoded data and compare against signature in the Encoding metadata block */
FLAC__SeekableStreamDecoderState state;
} FLAC__SeekableStreamDecoderProtected;
#endif