annotate src/flacng/flac_compat112.h @ 2284:d19b53359b24

cleaned up the sndfile wav plugin, currently limiting it ONLY TO WAV PLAYBACK. if somebody is more experienced with it and wants to restore the other formats, go ahead (maybe change the name of the plugin too?).
author mf0102 <0102@gmx.at>
date Wed, 09 Jan 2008 15:41:22 +0100
parents aa94631d1a02
children
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
2270
aa94631d1a02 - Add _delete for flac 1.1.2
Ralf Ertzinger <ralf@skytale.net>
parents: 1248
diff changeset
22 #define FLAC__stream_decoder_delete FLAC__seekable_stream_decoder_delete
1246
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
23 #define FLAC__StreamDecoderInitStatusString FLAC__SeekableStreamDecoderStateString
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
24 #define FLAC__StreamDecoderStateString FLAC__SeekableStreamDecoderStateString
930
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
25
1246
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
26 /* Constants and types */
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
27 #define FLAC__StreamDecoderInitStatus FLAC__SeekableStreamDecoderState
930
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
28 #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
29 #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
30 #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
31 #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
32 #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
33 #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
34 #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
35 #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
36 #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
37
1246
626f78ff2439 - Add FLAC 1.1.2 compatibility
sun@fc5-buildsys
parents: 930
diff changeset
38 FLAC__SeekableStreamDecoderState FLAC__stream_decoder_init_stream(
930
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
39 FLAC__SeekableStreamDecoder* decoder,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
40 FLAC__SeekableStreamDecoderReadCallback read_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
41 FLAC__SeekableStreamDecoderSeekCallback seek_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
42 FLAC__SeekableStreamDecoderTellCallback tell_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
43 FLAC__SeekableStreamDecoderLengthCallback length_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
44 FLAC__SeekableStreamDecoderEofCallback eof_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
45 FLAC__SeekableStreamDecoderWriteCallback write_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
46 FLAC__SeekableStreamDecoderMetadataCallback metadata_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
47 FLAC__SeekableStreamDecoderErrorCallback error_callback,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
48 void * client_data);
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
49
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
50 #endif
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
51
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
diff changeset
52 #endif