| 99 | } |
| 100 | |
| 101 | FLAC__bool streamEof(const FLAC__StreamDecoder*, void* clientData) |
| 102 | { |
| 103 | auto* data = static_cast<sf::priv::SoundFileReaderFlac::ClientData*>(clientData); |
| 104 | |
| 105 | return data->stream->tell() == data->stream->getSize(); |
| 106 | } |
| 107 | |
| 108 | |
| 109 | FLAC__StreamDecoderWriteStatus streamWrite( |