If you have an issue with any of our projects. feel free to register.

Commit 1d4a7770 authored by Dan Leehr's avatar Dan Leehr

Restore libFLAC plugin on macOS 10.13 and newer

parent cd84ec68
......@@ -323,26 +323,12 @@ void ErrorCallback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorS
+ (NSArray *)fileTypes
{
if (@available(macOS 10.13, *))
{
return [NSArray array];
}
else
{
return [NSArray arrayWithObjects:@"flac", nil];
}
return [NSArray arrayWithObjects:@"flac", nil];
}
+ (NSArray *)mimeTypes
{
if (@available(macOS 10.13, *))
{
return [NSArray array];
}
else
{
return [NSArray arrayWithObjects:@"audio/x-flac", nil];
}
return [NSArray arrayWithObjects:@"audio/x-flac", nil];
}
+ (float)priority
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment