| 35 | } |
| 36 | |
| 37 | int64_t dataSourceIO::seek_callback(void *arg, int64_t offset, int whence) |
| 38 | { |
| 39 | auto *pHandle = static_cast<dataSourceIO *>(arg); |
| 40 | // AF_LOGE("seek_callback", "%s %lld \n", __func__, offset); |
| 41 | return pHandle->mPDataSource->Seek(offset, whence); |
| 42 | } |
| 43 | |
| 44 | int dataSourceIO::init() |
| 45 | { |