mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
minor reordering of decoder state enum to match FLAC layers
This commit is contained in:
@@ -91,9 +91,6 @@ typedef enum {
|
|||||||
* check OggFLAC__file_decoder_get_seekable_stream_decoder_state().
|
* check OggFLAC__file_decoder_get_seekable_stream_decoder_state().
|
||||||
*/
|
*/
|
||||||
|
|
||||||
OggFLAC__FILE_DECODER_INVALID_CALLBACK,
|
|
||||||
/**< The decoder was initialized before setting all the required callbacks. */
|
|
||||||
|
|
||||||
OggFLAC__FILE_DECODER_MEMORY_ALLOCATION_ERROR,
|
OggFLAC__FILE_DECODER_MEMORY_ALLOCATION_ERROR,
|
||||||
/**< Memory allocation failed. */
|
/**< Memory allocation failed. */
|
||||||
|
|
||||||
@@ -103,6 +100,9 @@ typedef enum {
|
|||||||
* OggFLAC__file_decoder_finish() was not called.
|
* OggFLAC__file_decoder_finish() was not called.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
OggFLAC__FILE_DECODER_INVALID_CALLBACK,
|
||||||
|
/**< The decoder was initialized before setting all the required callbacks. */
|
||||||
|
|
||||||
OggFLAC__FILE_DECODER_UNINITIALIZED
|
OggFLAC__FILE_DECODER_UNINITIALIZED
|
||||||
/**< The decoder is in the uninitialized state. */
|
/**< The decoder is in the uninitialized state. */
|
||||||
|
|
||||||
|
|||||||
@@ -91,9 +91,6 @@ typedef enum {
|
|||||||
OggFLAC__SEEKABLE_STREAM_DECODER_READ_ERROR,
|
OggFLAC__SEEKABLE_STREAM_DECODER_READ_ERROR,
|
||||||
/**< The read callback returned an error. */
|
/**< The read callback returned an error. */
|
||||||
|
|
||||||
OggFLAC__SEEKABLE_STREAM_DECODER_INVALID_CALLBACK,
|
|
||||||
/**< The decoder was initialized before setting all the required callbacks. */
|
|
||||||
|
|
||||||
OggFLAC__SEEKABLE_STREAM_DECODER_MEMORY_ALLOCATION_ERROR,
|
OggFLAC__SEEKABLE_STREAM_DECODER_MEMORY_ALLOCATION_ERROR,
|
||||||
/**< Memory allocation failed. */
|
/**< Memory allocation failed. */
|
||||||
|
|
||||||
@@ -103,6 +100,9 @@ typedef enum {
|
|||||||
* OggFLAC__seekable_stream_decoder_finish() was not called.
|
* OggFLAC__seekable_stream_decoder_finish() was not called.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
OggFLAC__SEEKABLE_STREAM_DECODER_INVALID_CALLBACK,
|
||||||
|
/**< The decoder was initialized before setting all the required callbacks. */
|
||||||
|
|
||||||
OggFLAC__SEEKABLE_STREAM_DECODER_UNINITIALIZED
|
OggFLAC__SEEKABLE_STREAM_DECODER_UNINITIALIZED
|
||||||
/**< The decoder is in the uninitialized state. */
|
/**< The decoder is in the uninitialized state. */
|
||||||
|
|
||||||
|
|||||||
@@ -103,9 +103,6 @@ typedef enum {
|
|||||||
* check OggFLAC__stream_decoder_get_FLAC_stream_decoder_state().
|
* check OggFLAC__stream_decoder_get_FLAC_stream_decoder_state().
|
||||||
*/
|
*/
|
||||||
|
|
||||||
OggFLAC__STREAM_DECODER_INVALID_CALLBACK,
|
|
||||||
/**< The decoder was initialized before setting all the required callbacks. */
|
|
||||||
|
|
||||||
OggFLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR,
|
OggFLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR,
|
||||||
/**< Memory allocation failed. */
|
/**< Memory allocation failed. */
|
||||||
|
|
||||||
@@ -115,6 +112,9 @@ typedef enum {
|
|||||||
* OggFLAC__stream_decoder_finish() was not called.
|
* OggFLAC__stream_decoder_finish() was not called.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
OggFLAC__STREAM_DECODER_INVALID_CALLBACK,
|
||||||
|
/**< The decoder was initialized before setting all the required callbacks. */
|
||||||
|
|
||||||
OggFLAC__STREAM_DECODER_UNINITIALIZED
|
OggFLAC__STREAM_DECODER_UNINITIALIZED
|
||||||
/**< The decoder is in the uninitialized state. */
|
/**< The decoder is in the uninitialized state. */
|
||||||
|
|
||||||
|
|||||||
@@ -89,9 +89,9 @@ OggFLAC_API const char * const OggFLAC__FileDecoderStateString[] = {
|
|||||||
"OggFLAC__FILE_DECODER_ERROR_OPENING_FILE",
|
"OggFLAC__FILE_DECODER_ERROR_OPENING_FILE",
|
||||||
"OggFLAC__FILE_DECODER_SEEK_ERROR",
|
"OggFLAC__FILE_DECODER_SEEK_ERROR",
|
||||||
"OggFLAC__FILE_DECODER_SEEKABLE_STREAM_DECODER_ERROR",
|
"OggFLAC__FILE_DECODER_SEEKABLE_STREAM_DECODER_ERROR",
|
||||||
"OggFLAC__FILE_DECODER_INVALID_CALLBACK",
|
|
||||||
"OggFLAC__FILE_DECODER_MEMORY_ALLOCATION_ERROR",
|
"OggFLAC__FILE_DECODER_MEMORY_ALLOCATION_ERROR",
|
||||||
"OggFLAC__FILE_DECODER_ALREADY_INITIALIZED",
|
"OggFLAC__FILE_DECODER_ALREADY_INITIALIZED",
|
||||||
|
"OggFLAC__FILE_DECODER_INVALID_CALLBACK",
|
||||||
"OggFLAC__FILE_DECODER_UNINITIALIZED"
|
"OggFLAC__FILE_DECODER_UNINITIALIZED"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -82,9 +82,9 @@ OggFLAC_API const char * const OggFLAC__SeekableStreamDecoderStateString[] = {
|
|||||||
"OggFLAC__SEEKABLE_STREAM_DECODER_OGG_ERROR",
|
"OggFLAC__SEEKABLE_STREAM_DECODER_OGG_ERROR",
|
||||||
"OggFLAC__SEEKABLE_STREAM_DECODER_FLAC_SEEKABLE_STREAM_DECODER_ERROR",
|
"OggFLAC__SEEKABLE_STREAM_DECODER_FLAC_SEEKABLE_STREAM_DECODER_ERROR",
|
||||||
"OggFLAC__SEEKABLE_STREAM_DECODER_READ_ERROR",
|
"OggFLAC__SEEKABLE_STREAM_DECODER_READ_ERROR",
|
||||||
"OggFLAC__SEEKABLE_STREAM_DECODER_INVALID_CALLBACK",
|
|
||||||
"OggFLAC__SEEKABLE_STREAM_DECODER_MEMORY_ALLOCATION_ERROR",
|
"OggFLAC__SEEKABLE_STREAM_DECODER_MEMORY_ALLOCATION_ERROR",
|
||||||
"OggFLAC__SEEKABLE_STREAM_DECODER_ALREADY_INITIALIZED",
|
"OggFLAC__SEEKABLE_STREAM_DECODER_ALREADY_INITIALIZED",
|
||||||
|
"OggFLAC__SEEKABLE_STREAM_DECODER_INVALID_CALLBACK",
|
||||||
"OggFLAC__SEEKABLE_STREAM_DECODER_UNINITIALIZED"
|
"OggFLAC__SEEKABLE_STREAM_DECODER_UNINITIALIZED"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -74,9 +74,9 @@ OggFLAC_API const char * const OggFLAC__StreamDecoderStateString[] = {
|
|||||||
"OggFLAC__STREAM_DECODER_OGG_ERROR",
|
"OggFLAC__STREAM_DECODER_OGG_ERROR",
|
||||||
"OggFLAC__STREAM_DECODER_READ_ERROR",
|
"OggFLAC__STREAM_DECODER_READ_ERROR",
|
||||||
"OggFLAC__STREAM_DECODER_FLAC_STREAM_DECODER_ERROR",
|
"OggFLAC__STREAM_DECODER_FLAC_STREAM_DECODER_ERROR",
|
||||||
"OggFLAC__STREAM_DECODER_INVALID_CALLBACK",
|
|
||||||
"OggFLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR",
|
"OggFLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR",
|
||||||
"OggFLAC__STREAM_DECODER_ALREADY_INITIALIZED",
|
"OggFLAC__STREAM_DECODER_ALREADY_INITIALIZED",
|
||||||
|
"OggFLAC__STREAM_DECODER_INVALID_CALLBACK",
|
||||||
"OggFLAC__STREAM_DECODER_UNINITIALIZED"
|
"OggFLAC__STREAM_DECODER_UNINITIALIZED"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user