Merge branch 'upstream/1.16' into tizen_gst_1.16.2
[platform/upstream/gst-plugins-good.git] / ext / pulse / pulseutil.h
index a410d05..67f4a4c 100644 (file)
@@ -40,6 +40,8 @@
                      "S24BE, S24LE, S24_32BE, S24_32LE, U8 }"
 #endif
 
+/* NOTE! that we do NOT actually support rate=MAX. This must be fixed up using
+ * gst_pulse_fix_pcm_caps() before being used. */
 #define _PULSE_CAPS_LINEAR \
     "audio/x-raw, " \
       "format = (string) " _PULSE_FORMATS ", " \
@@ -60,7 +62,7 @@
 #define _PULSE_CAPS_DTS "audio/x-dts, framed = (boolean) true, " \
     "block-size = (int) { 512, 1024, 2048 }; "
 #define _PULSE_CAPS_MP3 "audio/mpeg, mpegversion = (int) 1, " \
-    "mpegaudioversion = (int) [ 1, 2 ], parsed = (boolean) true;"
+    "mpegaudioversion = (int) [ 1, 3 ], parsed = (boolean) true;"
 #define _PULSE_CAPS_AAC "audio/mpeg, mpegversion = (int) { 2, 4 }, " \
     "framed = (boolean) true, stream-format = (string) adts;"
 
@@ -94,4 +96,6 @@ GstCaps * gst_pulse_format_info_to_caps (pa_format_info * format);
 #ifdef __TIZEN__
 void gst_pulse_set_volume_ratio (uint32_t stream_index, const char *direction, double ratio);
 #endif
+GstCaps * gst_pulse_fix_pcm_caps (GstCaps * incaps);
+
 #endif