Opus: Boost priority of libopusfile decoder
This should take priority over the Core Audio and FFmpeg decoders. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
de6063780b
commit
0dee6e05ab
1 changed files with 2 additions and 1 deletions
|
@ -348,8 +348,9 @@ static void setDictionary(NSMutableDictionary *dict, NSString *tag, NSString *va
|
||||||
return @[@"audio/x-opus+ogg", @"application/ogg"];
|
return @[@"audio/x-opus+ogg", @"application/ogg"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We want this to take priority over both Core Audio and FFmpeg
|
||||||
+ (float)priority {
|
+ (float)priority {
|
||||||
return 1.0;
|
return 2.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (NSArray *)fileTypeAssociations {
|
+ (NSArray *)fileTypeAssociations {
|
||||||
|
|
Loading…
Reference in a new issue