diff options
Diffstat (limited to 'SmartDeviceLink/SDLBitsPerSample.h')
-rw-r--r-- | SmartDeviceLink/SDLBitsPerSample.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLBitsPerSample.h b/SmartDeviceLink/SDLBitsPerSample.h new file mode 100644 index 000000000..9067ce17a --- /dev/null +++ b/SmartDeviceLink/SDLBitsPerSample.h @@ -0,0 +1,45 @@ +// SDLBitsPerSample.h +// + + +#import "SDLEnum.h" + +/** + * Describes different bit depth options for PerformAudioPassThru + * + * @since SDL 2.0 + */ +@interface SDLBitsPerSample : SDLEnum { +} + +/** + * @abstract Convert String to SDLBitsPerSample + * + * @param value The value of the string to get an object for + * + * @return SDLBitsPerSample + */ ++ (SDLBitsPerSample *)valueOf:(NSString *)value; + +/** + * @abstract Store the enumeration of all possible SDLBitsPerSample + * + * @return an array that store all possible SDLBitsPerSample + */ ++ (NSArray *)values; + +/** + * @abstract 8 bits per sample + * + * @return a SDLBitsPerSample with value of *8_BIT* + */ ++ (SDLBitsPerSample *)_8_BIT; + +/** + * @abstract 16 bits per sample + * + * @return a SDLBitsPerSample with value of *16_BIT* + */ ++ (SDLBitsPerSample *)_16_BIT; + +@end |