[asterisk-dev] Audiohook dropping frames

2014-04-08 Thread Olle E. Johansson
Hi! In my adventures with silence detection and suppression I want my audiohook to drop frames. I see that I can manipulate but can I also drop frames? /O -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com

Re: [asterisk-dev] Audiohook dropping frames

2014-04-08 Thread Joshua Colp
Olle E. Johansson wrote: Hi! Kia ora, In my adventures with silence detection and suppression I want my audiohook to drop frames. I see that I can manipulate but can I also drop frames? Right now the manipulation expects the contents of the audio frame to be changed, not the entire frame

Re: [asterisk-dev] Audiohook dropping frames

2014-04-08 Thread Olle E. Johansson
On 08 Apr 2014, at 13:32, Joshua Colp jc...@digium.com wrote: Olle E. Johansson wrote: Hi! Kia ora, In my adventures with silence detection and suppression I want my audiohook to drop frames. I see that I can manipulate but can I also drop frames? Right now the manipulation expects

Re: [asterisk-dev] Audiohook dropping frames

2014-04-08 Thread Joshua Colp
Olle E. Johansson wrote: On 08 Apr 2014, at 13:32, Joshua Colpjc...@digium.com wrote: Olle E. Johansson wrote: Hi! Kia ora, In my adventures with silence detection and suppression I want my audiohook to drop frames. I see that I can manipulate but can I also drop frames? Right now the

Re: [asterisk-dev] Audiohook dropping frames

2014-04-08 Thread Olle E. Johansson
On 08 Apr 2014, at 13:45, Joshua Colp jc...@digium.com wrote: Olle E. Johansson wrote: On 08 Apr 2014, at 13:32, Joshua Colpjc...@digium.com wrote: Olle E. Johansson wrote: Hi! Kia ora, In my adventures with silence detection and suppression I want my audiohook to drop frames. I see

Re: [asterisk-dev] Audiohook dropping frames

2014-04-08 Thread Joshua Colp
Olle E. Johansson wrote: snip 3. Invent AST_FRAME_DROP and make sure that we drop it instead of sending it out to network... That's whatast_null_frame is for. It's a globally created frame which is used to replace frames with nothing or return a frame when no real frame exists to return. It

Re: [asterisk-dev] Audiohook dropping frames

2014-04-08 Thread Olle E . Johansson
On 08 Apr 2014, at 14:01, Joshua Colp jc...@digium.com wrote: Olle E. Johansson wrote: snip 3. Invent AST_FRAME_DROP and make sure that we drop it instead of sending it out to network... That's whatast_null_frame is for. It's a globally created frame which is used to replace frames

Re: [asterisk-dev] Audiohook dropping frames

2014-04-08 Thread Joshua Colp
Olle E. Johansson wrote: On 08 Apr 2014, at 14:01, Joshua Colpjc...@digium.com wrote: Olle E. Johansson wrote: snip 3. Invent AST_FRAME_DROP and make sure that we drop it instead of sending it out to network... That's whatast_null_frame is for. It's a globally created frame which is used