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
632e53510c
commit
abd11ebc3b
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"];
|
||||
}
|
||||
|
||||
// We want this to take priority over both Core Audio and FFmpeg
|
||||
+ (float)priority {
|
||||
return 1.0;
|
||||
return 2.0;
|
||||
}
|
||||
|
||||
+ (NSArray *)fileTypeAssociations {
|
||||
|
|
Loading…
Reference in a new issue