17 m_pSource = std::unique_ptr<RageSoundReader>(rhs.m_pSource->Copy());
20 int GetLength()
const override {
return m_pSource->GetLength(); }
21 int GetLength_Fast()
const override {
return m_pSource->GetLength_Fast(); }
22 int SetPosition(
int iFrame)
override
24 return m_pSource->SetPosition(iFrame);
26 int Read(
float* pBuf,
int iFrames)
override
28 return m_pSource->Read(pBuf, iFrames);
30 int GetSampleRate()
const override {
return m_pSource->GetSampleRate(); }
31 unsigned GetNumChannels()
const override
33 return m_pSource->GetNumChannels();
35 bool SetProperty(
const std::string& sProperty,
float fValue)
override
37 return m_pSource->SetProperty(sProperty, fValue);
39 int GetNextSourceFrame()
const override
41 return m_pSource->GetNextSourceFrame();
43 float GetStreamToSourceRatio()
const override
45 return m_pSource->GetStreamToSourceRatio();
48 std::string GetError()
const override {
return m_pSource->GetError(); }
51 std::unique_ptr<RageSoundReader> m_pSource;