|
|
|
@ -53,9 +53,9 @@ public:
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#ifdef LEGACY_FLAC
|
|
|
|
|
static FLAC__StreamEncoderWritetqStatus WriteCallback(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], unsigned bytes, unsigned samples, unsigned current_frame, void *client_data)
|
|
|
|
|
static FLAC__StreamEncoderWriteStatus WriteCallback(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], unsigned bytes, unsigned samples, unsigned current_frame, void *client_data)
|
|
|
|
|
#else
|
|
|
|
|
static FLAC__StreamEncoderWritetqStatus WriteCallback(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data)
|
|
|
|
|
static FLAC__StreamEncoderWriteStatus WriteCallback(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data)
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
EncoderFLAC::Private *d = (EncoderFLAC::Private*)client_data;
|
|
|
|
|