| 105 | } |
| 106 | |
| 107 | static sf_count_t read( void* ptr, sf_count_t count, void* userData ) { |
| 108 | ci::IStreamCinder* stream = static_cast<ci::IStreamCinder*>( userData ); |
| 109 | size_t pos0 = stream->tell(); |
| 110 | stream->readData( ptr, count ); |
| 111 | size_t pos1 = stream->tell(); |
| 112 | return pos1 - pos0; |
| 113 | } |
| 114 | |
| 115 | static sf_count_t write( const void* ptr, sf_count_t count, void *userData ) { |
| 116 | return 0; |