X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=ext%2Fpulse%2Fpulseutil.h;h=67f4a4c07999759e6b4f5af2eaf9b3a40fd6ce73;hb=f05e14ba316d67b9cdf1440d9b2129da03625a30;hp=a410d0519a3b37d2387625f03bc9e7290679975a;hpb=adf3453183503a3a533e9ad2f38b5892a69183fc;p=platform%2Fupstream%2Fgst-plugins-good.git diff --git a/ext/pulse/pulseutil.h b/ext/pulse/pulseutil.h index a410d05..67f4a4c 100644 --- a/ext/pulse/pulseutil.h +++ b/ext/pulse/pulseutil.h @@ -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