FLAC__StreamEncoderProgressCallback
extern (C) nothrow
alias FLAC__StreamEncoderProgressCallback =
void function(const FLAC__StreamEncoder* encoder, FLAC__uint64 bytes_written, FLAC__uint64 samples_written, uint frames_written, uint total_frames_estimate, void* client_data)
deimos flac stream_encoder
aliasesenumsfunctionsstatic variablesstructs
Signature for the progress callback.
A function pointer matching this signature may be passed to FLAC__stream_encoder_init*_file() or FLAC__stream_encoder_init*_FILE(). The supplied function will be called when the encoder has finished writing a frame. The \c total_frames_estimate argument to the callback will be based on the value from FLAC__stream_encoder_set_total_samples_estimate().
\note In general, FLAC__StreamEncoder functions which change the state should not be called on the \a encoder while in the callback.
\param encoder The encoder instance calling the callback. \param bytes_written Bytes written so far. \param samples_written Samples written so far. \param frames_written Frames written so far. \param total_frames_estimate The estimate of the total number of frames to be written. \param client_data The callee's client data set through FLAC__stream_encoder_init_*().