SFBDSDPCMDecoder
@interface SFBDSDPCMDecoder : NSObject <SFBPCMDecoding>
A wrapper around a DSD decoder supporting DSD64 to PCM conversion
-
Unavailable
Undocumented
Declaration
Objective-C
+ (instancetype)new NS_UNAVAILABLE;
-
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
-
Returns an initialized \c SFBDSDPCMDecoder 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 SFBDSDPCMDecoder object for the specified URL, or \c nil on failure
-
Returns an initialized \c SFBDSDPCMDecoder 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 SFBDSDPCMDecoder object for the specified input source, or \c nil on failure
-
Returns an initialized \c SFBDSDPCMDecoder object for the given decoder or \c nil on failure
Declaration
Objective-C
- (nullable instancetype)initWithDecoder:(nonnull id<SFBDSDDecoding>)decoder error:(NSError *_Nullable *_Nullable)error;
Parameters
decoder
The decoder
error
An optional pointer to a \c NSError to receive error information
Return Value
An initialized \c SFBDSDPCMDecoder object for the specified decoder, or \c nil on failure
-
The linear gain applied to the converted DSD samples (default is 6 dBFS)
Declaration
Objective-C
@property (nonatomic) float linearGain;