3#ifndef RAGE_SOUND_READER_VORBISFILE_H
4#define RAGE_SOUND_READER_VORBISFILE_H
6#include "RageSoundReader_FileReader.h"
8using OggVorbis_File =
struct OggVorbis_File;
16 int GetLength()
const override;
17 int SetPosition(
int iFrame)
override;
18 int Read(
float* pBuf,
int iFrames)
override;
19 int GetSampleRate()
const override;
20 unsigned GetNumChannels()
const override {
return channels; }
21 int GetNextSourceFrame()
const override;
32 unsigned channels = 0;
Definition RageFileBasic.h:10
Definition RageSoundReader_FileReader.h:13
Definition RageSoundReader_Vorbisfile.h:12