[gst-devel] Plugin
vaisakh.n
vaisakh.n at nestgroup.net
Wed Feb 4 13:25:43 CET 2009
I am trying to write mp3plugin,now its in a partial working stage
but problem is that,
caps of my element is fixed caps by using this api,
gst_pad_use_fixed_caps (filter->srcpad);
and caps set using this function
void Set_Caps(GstExampleFilter *filter,int sample_rate,int channels)
{
GstCaps *caps;
caps = gst_caps_new_simple ("audio/x-raw-int",
"endianness", G_TYPE_INT,G_BYTE_ORDER, //little endian//
"signed", G_TYPE_BOOLEAN, TRUE,
"width", G_TYPE_INT,32,
"depth", G_TYPE_INT,32,
"rate", G_TYPE_INT,sample_rate,
"channels",G_TYPE_INT,channels,NULL);
gst_pad_set_caps (filter->srcpad, caps);
}
*/
if i put " 1" for channels it play the 2channel song (stereo) very well
but it become worse if i put 2 for that(channels)
can any one identiy the problem?
help
me..please.
***** Confidentiality Statement/Disclaimer *****
This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.
The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.
***** Confidentiality Statement/Disclaimer *****
This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.
The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.
More information about the gstreamer-devel
mailing list