[gst-devel] Need help on Audio 'cutter' element

Sharath Mudalamane sharath_m at mindtree.com
Sun Dec 9 14:31:44 CET 2007


To: gstreamer-devel at lists.sourceforge.net
Subject: Need help on Audio 'cutter' element

Hello all,

I heard about Audio 'cutter' element in the archives. I am hoping I can use
this element to resize the audio buffer flowing into my filter plugin's
_chain() function.


PROBLEM: 

I have developed a gstreamer filter (say "wow"). I have to process the in
coming audio data (GstBuffer)in the gst_wow_chain() and push it to the source
pad.

Here, my 'CONSTRAINT' is that the buffer size should be a MULTIPLE of
(exactly) 64 bytes, for processing. 

When a few wav files (with 3,4,5,6channels) are used for processing, the
buffer size breaks my 'CONSTRAINT' :-(.



QUESTION:

I want to know if audio cutter can help my filter by providing a buffer size
with 64 byte multiple. 

If so please let me know if there is user guide for cutter..! :-(

ALTERNATIVE DESIGN:

I have to do (unnecessary copy operation in _chain() to resize the buffer
size for processing. I want to avoid this.


This is very urgent. Please, help me out!

Thanks and regards,
Sharath



DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.
E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.
Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.
MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.




More information about the gstreamer-devel mailing list