SDLBitsPerSample Class Reference

Section Contents

Overview

Describes different bit depth options for PerformAudioPassThru

@since SDL 2.0

+valueOf:

@abstract Convert String to SDLBitsPerSample

Objective-C

+ (SDLBitsPerSample *)valueOf:(NSString *)value;

Swift

class func value(of value: String!) -> SDLBitsPerSample!

Parameters

value

The value of the string to get an object for

Return Value

SDLBitsPerSample

+values

@abstract Store the enumeration of all possible SDLBitsPerSample

Objective-C

+ (NSArray *)values;

Swift

class func values() -> [Any]!

Return Value

an array that store all possible SDLBitsPerSample

+_8_BIT

@abstract 8 bits per sample

Objective-C

+ (SDLBitsPerSample *)_8_BIT;

Swift

class func _8_BIT() -> SDLBitsPerSample!

Return Value

a SDLBitsPerSample with value of 8_BIT

+_16_BIT

@abstract 16 bits per sample

Objective-C

+ (SDLBitsPerSample *)_16_BIT;

Swift

class func _16_BIT() -> SDLBitsPerSample!

Return Value

a SDLBitsPerSample with value of 16_BIT