• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Native.switch_codec类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中FreeSWITCH.Native.switch_codec的典型用法代码示例。如果您正苦于以下问题:C# switch_codec类的具体用法?C# switch_codec怎么用?C# switch_codec使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



switch_codec类属于FreeSWITCH.Native命名空间,在下文中一共展示了switch_codec类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: switch_ivr_speak_text_handle

 public static switch_status_t switch_ivr_speak_text_handle(SWIGTYPE_p_switch_core_session session, switch_speech_handle sh, switch_codec codec, switch_timer timer, string text, switch_input_args_t args)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_speak_text_handle(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_speech_handle.getCPtr(sh), switch_codec.getCPtr(codec), switch_timer.getCPtr(timer), text, switch_input_args_t.getCPtr(args));
     return ret;
 }
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:5,代码来源:swig.2010.cs


示例2: switch_rtp_enable_vad

 public static switch_status_t switch_rtp_enable_vad(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_switch_core_session session, switch_codec codec, uint flags)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_enable_vad(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec.getCPtr(codec), flags);
     return ret;
 }
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:5,代码来源:swig.2010.cs


示例3: getCPtr

 internal static HandleRef getCPtr(switch_codec obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:4,代码来源:swig.2010.cs


示例4: switch_core_session_set_write_codec

 public static switch_status_t switch_core_session_set_write_codec(SWIGTYPE_p_switch_core_session session, switch_codec codec)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_write_codec(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec.getCPtr(codec));
     return ret;
 }
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:5,代码来源:swig.2010.cs


示例5: switch_core_codec_ready

 public static switch_bool_t switch_core_codec_ready(switch_codec codec)
 {
     switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_core_codec_ready(switch_codec.getCPtr(codec));
     return ret;
 }
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:5,代码来源:swig.2010.cs


示例6: switch_core_codec_reset

 public static switch_status_t switch_core_codec_reset(switch_codec codec)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_reset(switch_codec.getCPtr(codec));
     return ret;
 }
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:5,代码来源:swig.2010.cs


示例7: switch_core_codec_init_with_bitrate

 public static switch_status_t switch_core_codec_init_with_bitrate(switch_codec codec, string codec_name, string fmtp, uint rate, int ms, int channels, uint bitrate, uint flags, switch_codec_settings codec_settings, SWIGTYPE_p_apr_pool_t pool)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_init_with_bitrate(switch_codec.getCPtr(codec), codec_name, fmtp, rate, ms, channels, bitrate, flags, switch_codec_settings.getCPtr(codec_settings), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
     return ret;
 }
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:5,代码来源:swig.2010.cs


示例8: switch_core_codec_encode

 public static switch_status_t switch_core_codec_encode(switch_codec codec, switch_codec other_codec, SWIGTYPE_p_void decoded_data, uint decoded_data_len, uint decoded_rate, SWIGTYPE_p_void encoded_data, SWIGTYPE_p_unsigned_long encoded_data_len, SWIGTYPE_p_unsigned_long encoded_rate, SWIGTYPE_p_unsigned_int flag)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_encode(switch_codec.getCPtr(codec), switch_codec.getCPtr(other_codec), SWIGTYPE_p_void.getCPtr(decoded_data), decoded_data_len, decoded_rate, SWIGTYPE_p_void.getCPtr(encoded_data), SWIGTYPE_p_unsigned_long.getCPtr(encoded_data_len), SWIGTYPE_p_unsigned_long.getCPtr(encoded_rate), SWIGTYPE_p_unsigned_int.getCPtr(flag));
     return ret;
 }
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:5,代码来源:swig.2010.cs


示例9: switch_core_codec_copy

 public static switch_status_t switch_core_codec_copy(switch_codec codec, switch_codec new_codec, SWIGTYPE_p_apr_pool_t pool)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_copy(switch_codec.getCPtr(codec), switch_codec.getCPtr(new_codec), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
     return ret;
 }
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:5,代码来源:swig.2010.cs


示例10: switch_core_codec_decode_video

 public static switch_status_t switch_core_codec_decode_video(switch_codec codec, switch_frame frame) {
   switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_decode_video(switch_codec.getCPtr(codec), switch_frame.getCPtr(frame));
   return ret;
 }
开发者ID:skyeyester,项目名称:freeswitch,代码行数:4,代码来源:swig.cs


示例11: switch_core_codec_control

 public static switch_status_t switch_core_codec_control(switch_codec codec, switch_codec_control_command_t cmd, switch_codec_control_type_t ctype, SWIGTYPE_p_void cmd_data, switch_codec_control_type_t atype, SWIGTYPE_p_void cmd_arg, SWIGTYPE_p_switch_codec_control_type_t rtype, SWIGTYPE_p_p_void ret_data) {
   switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_control(switch_codec.getCPtr(codec), (int)cmd, (int)ctype, SWIGTYPE_p_void.getCPtr(cmd_data), (int)atype, SWIGTYPE_p_void.getCPtr(cmd_arg), SWIGTYPE_p_switch_codec_control_type_t.getCPtr(rtype), SWIGTYPE_p_p_void.getCPtr(ret_data));
   return ret;
 }
开发者ID:skyeyester,项目名称:freeswitch,代码行数:4,代码来源:swig.cs



注:本文中的FreeSWITCH.Native.switch_codec类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Native.switch_codec_implementation类代码示例发布时间:2022-05-26
下一篇:
C# Native.switch_caller_profile类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap