src/pulse/format.h |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

New commits:
commit 773ca81dea1a18f93793ebfab4242d9a9ff73585
Author: Tanu Kaskinen <ta...@iki.fi>
Date:   Fri Feb 22 14:25:36 2013 +0200

    format: Add #defines for enum values

diff --git a/src/pulse/format.h b/src/pulse/format.h
index f59408e..4184bee 100644
--- a/src/pulse/format.h
+++ b/src/pulse/format.h
@@ -65,6 +65,18 @@ typedef enum pa_encoding {
     /**< Represents an invalid encoding */
 } pa_encoding_t;
 
+/** \cond fulldocs */
+#define PA_ENCODING_ANY PA_ENCODING_ANY
+#define PA_ENCODING_PCM PA_ENCODING_PCM
+#define PA_ENCODING_AC3_IEC61937 PA_ENCODING_AC3_IEC61937
+#define PA_ENCODING_EAC3_IEC61937 PA_ENCODING_EAC3_IEC61937
+#define PA_ENCODING_MPEG_IEC61937 PA_ENCODING_MPEG_IEC61937
+#define PA_ENCODING_DTS_IEC61937 PA_ENCODING_DTS_IEC61937
+#define PA_ENCODING_MPEG2_AAC_IEC61937 PA_ENCODING_MPEG2_AAC_IEC61937
+#define PA_ENCODING_MAX PA_ENCODING_MAX
+#define PA_ENCODING_INVALID PA_ENCODING_INVALID
+/** \endcond */
+
 /** Returns a printable string representing the given encoding type. \since 
1.0 */
 const char *pa_encoding_to_string(pa_encoding_t e) PA_GCC_CONST;
 
@@ -149,6 +161,15 @@ typedef enum pa_prop_type_t {
     /**< Represents an invalid type */
 } pa_prop_type_t;
 
+/** \cond fulldocs */
+#define PA_PROP_TYPE_INT PA_PROP_TYPE_INT
+#define PA_PROP_TYPE_INT_RANGE PA_PROP_TYPE_INT_RANGE
+#define PA_PROP_TYPE_INT_ARRAY PA_PROP_TYPE_INT_ARRAY
+#define PA_PROP_TYPE_STRING PA_PROP_TYPE_STRING
+#define PA_PROP_TYPE_STRING_ARRAY PA_PROP_TYPE_STRING_ARRAY
+#define PA_PROP_TYPE_INVALID PA_PROP_TYPE_INVALID
+/** \endcond */
+
 /** Gets the type of property \a key in a given \ref pa_format_info. \since 
2.0 */
 pa_prop_type_t pa_format_info_get_prop_type(pa_format_info *f, const char 
*key);
 

_______________________________________________
pulseaudio-commits mailing list
pulseaudio-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits

Reply via email to