12 #include "storage/cdioSupport.h" 21 bool Open(
const CURL& url)
override;
22 bool Exists(
const CURL& url)
override;
23 int Stat(
const CURL& url,
struct __stat64* buffer)
override;
25 ssize_t
Read(
void* lpBuf,
size_t uiBufSize)
override;
26 int64_t Seek(int64_t iFilePosition,
int iWhence = SEEK_SET)
override;
27 void Close()
override;
28 int64_t GetPosition()
override;
29 int64_t GetLength()
override;
30 int GetChunkSize()
override;
33 bool IsValidFile(
const CURL& url);
34 int GetTrackNum(
const CURL& url);
38 lsn_t m_lsnStart = CDIO_INVALID_LSN;
39 lsn_t m_lsnCurrent = CDIO_INVALID_LSN;
40 lsn_t m_lsnEnd = CDIO_INVALID_LSN;
42 std::shared_ptr<MEDIA_DETECT::CLibcdio> m_cdio;
ssize_t Read(void *lpBuf, size_t uiBufSize) override
Attempt to read bufSize bytes from currently opened file into buffer bufPtr.
Definition: CDDAFile.cpp:104
int Stat(const CURL &url, struct __stat64 *buffer) override
Fills struct __stat64 with information about file specified by url.
Definition: CDDAFile.cpp:90
Definition: CDDAFile.h:16