- if( !strcmp(pref->name,"OGG") ) { // OGG file
- if( !FileOGG::check_sig(this->asset) ) continue;
- file = new FileOGG(this->asset, this);
- return FILE_OK;
- }
- if( !strcmp(pref->name,"Vorbis") ) { // VorbisFile file
- if( !FileVorbis::check_sig(this->asset) ) continue;
- file = new FileVorbis(this->asset, this);
- return FILE_OK;
- }