mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Rename atFileEOF to AtFileEOF for consistency in Ogg classes
This commit is contained in:
parent
586d02838a
commit
c40aada404
3 changed files with 3 additions and 3 deletions
|
|
@ -127,7 +127,7 @@ int COggData::FetchDataIntoBuffer(int count, ALuint* buffers)
|
|||
{
|
||||
std::fill(PCMOut.begin(), PCMOut.end(), 0);
|
||||
const size_t totalRet{m_Stream->GetNextChunk(PS::span<u8>(PCMOut))};
|
||||
m_FileFinished = m_Stream->atFileEOF();
|
||||
m_FileFinished = m_Stream->AtFileEOF();
|
||||
if (totalRet == 0)
|
||||
continue;
|
||||
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ public:
|
|||
{
|
||||
return m_Info->rate;
|
||||
}
|
||||
virtual bool atFileEOF()
|
||||
virtual bool AtFileEOF()
|
||||
{
|
||||
return m_FileEOF;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ public:
|
|||
virtual ~OggStream() { }
|
||||
virtual ALenum Format() = 0;
|
||||
virtual ALsizei SamplingRate() = 0;
|
||||
virtual bool atFileEOF() = 0;
|
||||
virtual bool AtFileEOF() = 0;
|
||||
virtual Status ResetFile() = 0;
|
||||
|
||||
virtual size_t GetNextChunk(PS::span<u8> buffer) = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue