GetNextStreamFrame implementations

This commit is contained in:
Glenn Maynard
2006-11-29 07:40:19 +00:00
parent b2bbf941fc
commit 0f9e6c9153
6 changed files with 48 additions and 0 deletions
@@ -255,6 +255,14 @@ int RageSoundReader_Vorbisfile::GetSampleRate() const
return vi->rate;
}
int RageSoundReader_Vorbisfile::GetNextStreamFrame() const
{
ASSERT(vf);
int iFrame = ov_pcm_tell( vf );
return iFrame;
}
RageSoundReader_Vorbisfile::RageSoundReader_Vorbisfile()
{
vf = NULL;