25 #ifndef CPP3DS_INPUTSOUNDFILE_HPP
26 #define CPP3DS_INPUTSOUNDFILE_HPP
31 #include <cpp3ds/System/NonCopyable.hpp>
32 #include <cpp3ds/System/Time.hpp>
39 class SoundFileReader;
108 bool openForWriting(
const std::string& filename,
unsigned int channelCount,
unsigned int sampleRate);
158 void seek(Uint64 sampleOffset);
183 Uint64
read(Int16* samples, Uint64 maxCount);
199 Uint64 m_sampleCount;
200 unsigned int m_channelCount;
201 unsigned int m_sampleRate;
207 #endif // CPP3DS_INPUTSOUNDFILE_HPP
Utility class that makes any derived class non-copyable.
Abstract base class for sound file decoding.