Value | Meaning |
---|---|
FLAC__STREAM_ENCODER_INIT_STATUS_OK0 | |
FLAC__STREAM_ENCODER_INIT_STATUS_ENCODER_ERROR | < Initialization was successful. |
FLAC__STREAM_ENCODER_INIT_STATUS_UNSUPPORTED_CONTAINER | < General failure to set up encoder; call FLAC__stream_encoder_get_state() for cause. |
FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_CALLBACKS | < The library was not compiled with support for the given container format. |
FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_NUMBER_OF_CHANNELS | < A required callback was not supplied. |
FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_BITS_PER_SAMPLE | < The encoder has an invalid setting for number of channels. |
FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_SAMPLE_RATE | < The encoder has an invalid setting for bits-per-sample. FLAC supports 4-32 bps but the reference encoder currently supports only up to 24 bps. |
FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_BLOCK_SIZE | < The encoder has an invalid setting for the input sample rate. |
FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_MAX_LPC_ORDER | < The encoder has an invalid setting for the block size. |
FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_QLP_COEFF_PRECISION | < The encoder has an invalid setting for the maximum LPC order. |
FLAC__STREAM_ENCODER_INIT_STATUS_BLOCK_SIZE_TOO_SMALL_FOR_LPC_ORDER | < The encoder has an invalid setting for the precision of the quantized linear predictor coefficients. |
FLAC__STREAM_ENCODER_INIT_STATUS_NOT_STREAMABLE | < The specified block size is less than the maximum LPC order. |
FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_METADATA | < The encoder is bound to the <A HREF="../format.html#subset">Subset</A> but other settings violate it. |
FLAC__STREAM_ENCODER_INIT_STATUS_ALREADY_INITIALIZED | < The metadata input to the encoder is invalid, in one of the following ways: - FLAC__stream_encoder_set_metadata() was called with a null pointer but a block count > 0 - One of the metadata blocks contains an undefined type - It contains an illegal CUESHEET as checked by FLAC__format_cuesheet_is_legal() - It contains an illegal SEEKTABLE as checked by FLAC__format_seektable_is_legal() - It contains more than one SEEKTABLE block or more than one VORBIS_COMMENT block |
Possible return values for the FLAC__stream_encoder_init_*() functions.