SFBDSDDecoder
@interface SFBDSDDecoder : NSObject <SFBDSDDecoding>
A decoder providing audio as DSD
-
Returns a set containing the supported path extensions
Declaration
Objective-C
@property (class, nonatomic, readonly) NSSet<NSString *> *_Nonnull supportedPathExtensions;
-
Returns a set containing the supported MIME types
Declaration
Objective-C
@property (class, nonatomic, readonly) NSSet<NSString *> *_Nonnull supportedMIMETypes;
-
Tests whether a file extension is supported
Declaration
Objective-C
+ (BOOL)handlesPathsWithExtension:(nonnull NSString *)extension;
-
Tests whether a MIME type is supported
Declaration
Objective-C
+ (BOOL)handlesMIMEType:(nonnull NSString *)mimeType;
-
Unavailable
Undocumented
Declaration
Objective-C
+ (instancetype)new NS_UNAVAILABLE;
-
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
-
Returns an initialized \c SFBDSDDecoder object for the given URL or \c nil on failure
Declaration
Objective-C
- (nullable instancetype)initWithURL:(nonnull NSURL *)url;
Parameters
url
The URL
Return Value
An initialized \c SFBDSDDecoder object for the specified URL, or \c nil on failure
-
Returns an initialized \c SFBDSDDecoder object for the given URL or \c nil on failure
Declaration
Objective-C
- (nullable instancetype)initWithURL:(nonnull NSURL *)url error:(NSError *_Nullable *_Nullable)error;
Parameters
url
The URL
error
An optional pointer to a \c NSError to receive error information
Return Value
An initialized \c SFBDSDDecoder object for the specified URL, or \c nil on failure
-
Returns an initialized \c SFBDSDDecoder object for the given URL or \c nil on failure
Declaration
Objective-C
- (nullable instancetype)initWithURL:(nonnull NSURL *)url mimeType:(nullable NSString *)mimeType error:(NSError *_Nullable *_Nullable)error;
Parameters
url
The URL
mimeType
The MIME type of \c url or \c nil
error
An optional pointer to a \c NSError to receive error information
Return Value
An initialized \c SFBDSDDecoder object for the specified URL, or \c nil on failure
-
Returns an initialized \c SFBDSDDecoder object for the given input source or \c nil on failure
Declaration
Objective-C
- (nullable instancetype)initWithInputSource: (nonnull SFBInputSource *)inputSource;
Parameters
inputSource
The input source
Return Value
An initialized \c SFBDSDDecoder object for the specified input source, or \c nil on failure
-
Returns an initialized \c SFBDSDDecoder object for the given input source or \c nil on failure
Declaration
Objective-C
- (nullable instancetype) initWithInputSource:(nonnull SFBInputSource *)inputSource error:(NSError *_Nullable *_Nullable)error;
Parameters
inputSource
The input source
error
An optional pointer to a \c NSError to receive error information
Return Value
An initialized \c SFBDSDDecoder object for the specified input source, or \c nil on failure
-
Returns an initialized \c SFBDSDDecoder object for the given input source or \c nil on failure
Declaration
Objective-C
- (nullable instancetype) initWithInputSource:(nonnull SFBInputSource *)inputSource mimeType:(nullable NSString *)mimeType error:(NSError *_Nullable *_Nullable)error;
Parameters
inputSource
The input source
mimeType
The MIME type of \c inputSource or \c nil
error
An optional pointer to a \c NSError to receive error information
Return Value
An initialized \c SFBDSDDecoder object for the specified input source, or \c nil on failure
-
Returns an initialized \c SFBDSDDecoder object for the given URL or \c nil on failure
Declaration
Objective-C
- (nullable instancetype)initWithURL:(nonnull NSURL *)url decoderName:(nonnull SFBDSDDecoderName)decoderName;
Parameters
url
The URL
decoderName
The name of the decoder to use
Return Value
An initialized \c SFBDSDDecoder object for the specified URL, or \c nil on failure
-
Returns an initialized \c SFBDSDDecoder object for the given URL or \c nil on failure
Declaration
Objective-C
- (nullable instancetype)initWithURL:(nonnull NSURL *)url decoderName:(nonnull SFBDSDDecoderName)decoderName error:(NSError *_Nullable *_Nullable)error;
Parameters
url
The URL
decoderName
The name of the decoder to use
error
An optional pointer to a \c NSError to receive error information
Return Value
An initialized \c SFBDSDDecoder object for the specified URL, or \c nil on failure
-
Returns an initialized \c SFBDSDDecoder object for the given input source or \c nil on failure
Declaration
Objective-C
- (nullable instancetype) initWithInputSource:(nonnull SFBInputSource *)inputSource decoderName:(nonnull SFBDSDDecoderName)decoderName;
Parameters
inputSource
The input source
decoderName
The name of the decoder to use
Return Value
An initialized \c SFBDSDDecoder object for the specified input source, or \c nil on failure
-
Returns an initialized \c SFBDSDDecoder object for the given input source or \c nil on failure
Declaration
Objective-C
- (nullable instancetype) initWithInputSource:(nonnull SFBInputSource *)inputSource decoderName:(nonnull SFBDSDDecoderName)decoderName error:(NSError *_Nullable *_Nullable)error;
Parameters
inputSource
The input source
decoderName
The name of the decoder to use
error
An optional pointer to a \c NSError to receive error information
Return Value
An initialized \c SFBDSDDecoder object for the specified input source, or \c nil on failure
-
Opens the decoder
Declaration
Objective-C
- (BOOL)openReturningError:(NSError *_Nullable *_Nullable)error;
Parameters
error
An optional pointer to a \c NSError to receive error information
Return Value
\c YES on success, \c NO otherwise
-
Closes the decoder
Declaration
Objective-C
- (BOOL)closeReturningError:(NSError *_Nullable *_Nullable)error;
Parameters
error
An optional pointer to a \c NSError to receive error information
Return Value
\c YES on success, \c NO otherwise