annotate src/flacng/flac_compat112.h @ 1674:6a5e0d24a474

branch merge
author mf0102 <0102@gmx.at>
date Sun, 09 Sep 2007 21:47:29 +0200
parents 0e0f73fed025
children aa94631d1a02
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
930
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
1 #ifndef FLAC_COMPAT112_H
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
2 #define FLAC_COMPAT112_H
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
3
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
4 #if !defined(FLAC_API_VERSION_CURRENT)
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
5
1246
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
6 /* Basic stream decoder type */
930
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
7 #define FLAC__StreamDecoder FLAC__SeekableStreamDecoder
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
8
1246
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
9 /* Stream decoder functions */
930
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
10 #define FLAC__StreamDecoderReadStatus FLAC__SeekableStreamDecoderReadStatus
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
11 #define FLAC__StreamDecoderSeekStatus FLAC__SeekableStreamDecoderSeekStatus
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
12 #define FLAC__StreamDecoderTellStatus FLAC__SeekableStreamDecoderTellStatus
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
13 #define FLAC__StreamDecoderLengthStatus FLAC__SeekableStreamDecoderLengthStatus
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
14 #define FLAC__stream_decoder_new FLAC__seekable_stream_decoder_new
1246
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
15 #define FLAC__stream_decoder_set_metadata_respond FLAC__seekable_stream_decoder_set_metadata_respond
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
16 #define FLAC__stream_decoder_process_single FLAC__seekable_stream_decoder_process_single
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
17 #define FLAC__stream_decoder_seek_absolute FLAC__seekable_stream_decoder_seek_absolute
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
18 #define FLAC__stream_decoder_get_state FLAC__seekable_stream_decoder_get_state
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
19 #define FLAC__stream_decoder_flush FLAC__seekable_stream_decoder_flush
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
20 #define FLAC__stream_decoder_reset FLAC__seekable_stream_decoder_reset
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
21 #define FLAC__stream_decoder_process_until_end_of_metadata FLAC__seekable_stream_decoder_process_until_end_of_metadata
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
22 #define FLAC__StreamDecoderInitStatusString FLAC__SeekableStreamDecoderStateString
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
23 #define FLAC__StreamDecoderStateString FLAC__SeekableStreamDecoderStateString
930
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
24
1246
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
25 /* Constants and types */
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
26 #define FLAC__StreamDecoderInitStatus FLAC__SeekableStreamDecoderState
930
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
27 #define FLAC__STREAM_DECODER_SEEK_STATUS_ERROR FLAC__SEEKABLE_STREAM_DECODER_SEEK_STATUS_ERROR
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
28 #define FLAC__STREAM_DECODER_SEEK_STATUS_OK FLAC__SEEKABLE_STREAM_DECODER_SEEK_STATUS_OK
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
29 #define FLAC__STREAM_DECODER_TELL_STATUS_ERROR FLAC__SEEKABLE_STREAM_DECODER_TELL_STATUS_ERROR
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
30 #define FLAC__STREAM_DECODER_TELL_STATUS_OK FLAC__SEEKABLE_STREAM_DECODER_TELL_STATUS_OK
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
31 #define FLAC__STREAM_DECODER_LENGTH_STATUS_ERROR FLAC__SEEKABLE_STREAM_DECODER_LENGTH_STATUS_ERROR
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
32 #define FLAC__STREAM_DECODER_LENGTH_STATUS_OK FLAC__SEEKABLE_STREAM_DECODER_LENGTH_STATUS_OK
1246
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
33 #define FLAC__STREAM_DECODER_INIT_STATUS_OK FLAC__SEEKABLE_STREAM_DECODER_OK
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
34 #define FLAC__STREAM_DECODER_LENGTH_STATUS_UNSUPPORTED FLAC__SEEKABLE_STREAM_DECODER_LENGTH_STATUS_OK
1248
0e0f73fed025 - Fix end-of-stream detection for 1.1.2
Ralf Ertzinger <ralf@skytale.net>
parents: 1246
diff changeset
35 #define FLAC__STREAM_DECODER_END_OF_STREAM FLAC__SEEKABLE_STREAM_DECODER_END_OF_STREAM
930
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
36
1246
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
37 FLAC__SeekableStreamDecoderState FLAC__stream_decoder_init_stream(
930
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
38 FLAC__SeekableStreamDecoder* decoder,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
39 FLAC__SeekableStreamDecoderReadCallback read_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
40 FLAC__SeekableStreamDecoderSeekCallback seek_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
41 FLAC__SeekableStreamDecoderTellCallback tell_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
42 FLAC__SeekableStreamDecoderLengthCallback length_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
43 FLAC__SeekableStreamDecoderEofCallback eof_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
44 FLAC__SeekableStreamDecoderWriteCallback write_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
45 FLAC__SeekableStreamDecoderMetadataCallback metadata_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
46 FLAC__SeekableStreamDecoderErrorCallback error_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
47 void * client_data);
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
48
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
49 #endif
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
50
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
51 #endif