Lines 321-327
Link Here
|
321 |
|
321 |
|
322 |
|
322 |
|
323 |
FLAC__StreamDecoderReadStatus |
323 |
FLAC__StreamDecoderReadStatus |
324 |
FlacStream::realReadCallBack (FLAC__byte buffer[], unsigned * bytes) |
324 |
FlacStream::realReadCallBack (FLAC__byte buffer[], size_t * bytes) |
325 |
{ |
325 |
{ |
326 |
*bytes = reader_read (buffer, *bytes, _datasource); |
326 |
*bytes = reader_read (buffer, *bytes, _datasource); |
327 |
return *bytes > 0 ? FLAC__STREAM_DECODER_READ_STATUS_CONTINUE : |
327 |
return *bytes > 0 ? FLAC__STREAM_DECODER_READ_STATUS_CONTINUE : |
Lines 336-342
Link Here
|
336 |
FLAC__StreamDecoderReadStatus |
336 |
FLAC__StreamDecoderReadStatus |
337 |
FlacStream::readCallBack (const FLAC__StreamDecoder *, |
337 |
FlacStream::readCallBack (const FLAC__StreamDecoder *, |
338 |
FLAC__byte buffer[], |
338 |
FLAC__byte buffer[], |
339 |
unsigned * bytes, |
339 |
size_t * bytes, |
340 |
void * client_data) |
340 |
void * client_data) |
341 |
{ |
341 |
{ |
342 |
if (!client_data) |
342 |
if (!client_data) |