summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLAudioPassThruCapabilities.h
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-05-25 08:44:23 -0400
committerJoel Fischer <joeljfischer@gmail.com>2016-05-25 08:44:23 -0400
commitfb8e9903a323acaf5fc78819bb3c203567542ab2 (patch)
treee40665103ac7db492e0a40e34cd92f3390defa55 /SmartDeviceLink/SDLAudioPassThruCapabilities.h
parentf7540a02262832e34c67b0953dd8a1804a046fea (diff)
downloadsdl_ios-fb8e9903a323acaf5fc78819bb3c203567542ab2.tar.gz
Shift files into root directory
Diffstat (limited to 'SmartDeviceLink/SDLAudioPassThruCapabilities.h')
-rw-r--r--SmartDeviceLink/SDLAudioPassThruCapabilities.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLAudioPassThruCapabilities.h b/SmartDeviceLink/SDLAudioPassThruCapabilities.h
new file mode 100644
index 000000000..96772b62b
--- /dev/null
+++ b/SmartDeviceLink/SDLAudioPassThruCapabilities.h
@@ -0,0 +1,74 @@
+// SDLAudioPassThruCapabilities.h
+//
+
+#import "SDLRPCMessage.h"
+
+@class SDLAudioType;
+@class SDLBitsPerSample;
+@class SDLSamplingRate;
+
+
+/**
+ * Describes different audio type configurations for SDLPerformAudioPassThru, e.g. {8kHz,8-bit,PCM}
+ * <p><b>Parameter List</b>
+ * <table border="1" rules="all">
+ * <tr>
+ * <th>Name</th>
+ * <th>Type</th>
+ * <th>Description</th>
+ * <th>SmartDeviceLink Ver. Available</th>
+ * </tr>
+ * <tr>
+ * <td>samplingRate</td>
+ * <td>SDLSamplingRate * </td>
+ * <td>Describes the sampling rate for AudioPassThru
+ * </td>
+ * <td>SmartDeviceLink 2.0</td>
+ * </tr>
+ * <tr>
+ * <td>bitsPerSample</td>
+ * <td>SDLBitsPerSample * </td>
+ * <td>Describes the sample depth in bit for AudioPassThru
+ * </td>
+ * <td>SmartDeviceLink 2.0</td>
+ * </tr>
+ * <tr>
+ * <td>audioType</td>
+ * <td>SDLAudioType * </td>
+ * <td>Describes the audiotype for AudioPassThru
+ * </td>
+ * <td>SmartDeviceLink 2.0</td>
+ * </tr>
+ * </table>
+ * Since <b>SmartDeviceLink 2.0</b>
+ */
+@interface SDLAudioPassThruCapabilities : SDLRPCStruct {
+}
+
+/**
+ * Constructs a newly allocated SDLAudioPassThruCapabilities object
+ */
+- (instancetype)init;
+/**
+ * Constructs a newly allocated SDLAudioPassThruCapabilities object indicated by the Hashtable parameter
+ * @param dict The dictionary to use
+ */
+- (instancetype)initWithDictionary:(NSMutableDictionary *)dict;
+
+/**
+ * @abstract The sampling rate for AudioPassThru<br>
+ *
+ */
+@property (strong) SDLSamplingRate *samplingRate;
+/**
+ * @abstract The sample depth in bit for AudioPassThru<br>
+ *
+ */
+@property (strong) SDLBitsPerSample *bitsPerSample;
+/**
+ * @abstract The audiotype for AudioPassThru<br>
+ *
+ */
+@property (strong) SDLAudioType *audioType;
+
+@end