how to add two audio pads(or caps) to a gstreamer pipeline

cfd new via gstreamer-devel <[email protected]>
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <[email protected]>
I build a pipeline with decodebin to play video files. Video pad and audio pads are added dynamically. I noticed that there are two audio caps 
1. "audio/x-raw, format=(string)S16LE, layout=(string)non-interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003" 
2. "audio/x-raw, format=(string)F32LE, layout=(string)non-interleaved, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000c0f"
How do I add these caps to the audio sink bin part?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.