12 #include "cores/VideoPlayer/DVDCodecs/Audio/DVDAudioCodec.h" 13 #include "cores/VideoPlayer/DVDDemuxers/DVDDemux.h" 14 #include "cores/VideoPlayer/DVDInputStreams/DVDInputStream.h" 27 bool Init(
const CFileItem &file,
unsigned int filecache)
override;
28 bool Seek(int64_t iSeekTime)
override;
29 int ReadPCM(uint8_t* pBuffer,
size_t size,
size_t* actualsize)
override;
30 int ReadRaw(uint8_t **pBuffer,
int *bufferSize)
override;
31 bool CanInit()
override;
32 bool CanSeek()
override;
36 void SetContentType(
const std::string &strContent);
38 bool NeedConvert(AEDataFormat
fmt);
39 void SetPassthroughStreamType(CAEStreamInfo::DataType streamType);
42 CAEStreamInfo::DataType GetPassthroughStreamType(AVCodecID codecId,
int samplerate,
int profile);
45 std::shared_ptr<CDVDInputStream> m_pInputStream;
46 std::unique_ptr<CDVDAudioCodec> m_pAudioCodec;
48 std::string m_strContentType;
49 std::string m_strFileName;
50 int m_nAudioStream{-1};
51 size_t m_nDecodedLen{0};
53 bool m_bInited{
false};
54 bool m_bCanSeek{
false};
56 std::unique_ptr<ActiveAE::IAEResample> m_pResampler;
59 bool m_needConvert{
false};
63 std::unique_ptr<CProcessInfo> m_processInfo;
Definition: DVDDemux.h:221
Definition: Application.h:67
Definition: DVDAudioCodec.h:27
Represents a file on a share.
Definition: FileItem.h:102
Definition: VideoPlayerCodec.h:21