Added more file extensions for AO decoder.

CQTexperiment
vspader 2009-02-28 22:05:38 -08:00
parent c86364cbf3
commit 1805393e20
1 changed files with 11 additions and 10 deletions

View File

@ -291,16 +291,6 @@ int ao_get_lib(char *fn, uint8 **buf, uint64 *length)
nil];
}
+ (NSArray *)fileTypes
{
return [NSArray arrayWithObjects:@"psf",@"minipsf",nil];
}
+ (NSArray *)mimeTypes
{
return [NSArray arrayWithObjects:@"audio/x-psf", nil];
}
+ (NSDictionary *)metadataForURL:(NSURL *)url
{
[globalLock lock];
@ -323,5 +313,16 @@ int ao_get_lib(char *fn, uint8 **buf, uint64 *length)
return metadata;
}
+ (NSArray *)fileTypes
{
return [NSArray arrayWithObjects:@"psf",@"minipsf",@"psf2", @"spu", @"psf2", @"ssf", @"dsf", @"qsf", nil];
}
+ (NSArray *)mimeTypes
{
return [NSArray arrayWithObjects:@"audio/x-psf", nil];
}
@end