Core/Audio/Decoders/OggDecoder.cpp
size_t VorbisRead(void *ptr			/* ptr to the data that the vorbis files need*/, 
                      size_t byteSize	/* how big a byte is*/, 
                      size_t sizeToRead /* How much we can read*/, 
                      void *datasource	/* this is a pointer to the data we passed into ov_open_callbacks (our SOggFile struct*/)
    {
        AudioAssetReader*	vorbisData;			// Our vorbis data, for the typecast
        
        // Get the data in the right format
        vorbisData = (AudioAssetReader*)datasource;
        
        return vorbisData->Read(ptr,sizeToRead*byteSize);
    }
//---------------------------------------------------------------------------------
// Function	: VorbisRead
// Purpose	: Callback for the Vorbis read function
// Info		: 
//---------------------------------------------------------------------------------
Function       : VorbisRead
Purpose        : Callback for the Vorbis read function
Info           .
Function : VorbisRead Purpose : Callback for the Vorbis read function Info .
size_t VorbisRead(void *ptr			, 
                      size_t byteSize	, 
                      size_t sizeToRead , 
                      void *datasource	)
    {
        AudioAssetReader*	vorbisData;			
        vorbisData = (AudioAssetReader*)datasource;
        return vorbisData->Read(ptr,sizeToRead*byteSize);
    }
size_t VorbisRead ( void * ptr , size_t byteSize , size_t sizeToRead , void * datasource ) { AudioAssetReader * vorbisData ; vorbisData = ( AudioAssetReader * ) datasource ; return vorbisData -> Read ( ptr , sizeToRead * byteSize ) ; }
Function       : VorbisRead
Purpose        : Callback for the Vorbis read function
Info           :
Function : VorbisRead Purpose : Callback for the Vorbis read function Info :
/* ptr to the data that the vorbis files need*/ /* how big a byte is*/ /* How much we can read*/ /* this is a pointer to the data we passed into ov_open_callbacks (our SOggFile struct*/ // Our vorbis data, for the typecast // Get the data in the right format