中山大学学报自然科学版 ›› 2010, Vol. 49 ›› Issue (2): 31-36.

• 研究论文 • 上一篇    下一篇

一种多媒体会议系统的实时同步混音转发算法

李 宇1,郭雷勇2,陈建铭2,谭洪舟2   

  1. (1. 广东药学院医药信息工程学院,广东 广州 510006;2. 中山大学信息科学与技术学院,广东 广州 510275)
  • 收稿日期:2009-02-01 修回日期:1900-01-01 出版日期:2010-03-25 发布日期:2010-03-25

A RealTime Synchronous Audio Mixing and Transmitting Scheme in Multimedia Conference System

LI Yu1, GUO Leiyong2, CHEN Jianming2, TAN Hongzhou2   

  1. (1. College of Medical Information Engineering, Guangdong Pharmaceutical University, Guangzhou 510006, China;2. School of Information Science and Technology, Sun Yatsen University, Guangzhou 510275, China)
  • Received:2009-02-01 Revised:1900-01-01 Online:2010-03-25 Published:2010-03-25

摘要: 在集中式多媒体音频会议中,混音算法决定了其混音输出语音质量的高低,而混音算法的实现要依靠同步混音转发机制的支持。对 Perkins提出的混音循环缓冲区进行分析,提出一种适用于集中式多媒体音频会议系统的实时同步混音转发算法。该算法通过设置多个循环混音缓冲区,并对其实施同步控制来实现音频数据的混音、转发功能,并利用反映操作系统调度情况的声卡缓冲区数据长度确定每次混音处理的数据长度,以减轻操作系统调度对混音的影响。实验验证了此算法的可行性和稳定性。

关键词: 集中式多媒体会议系统, 混音, 循环缓冲区, 同步, 系统调度

Abstract: The audio mixing algorithm determines the quality of the mixing voice in the unicast based centralized multimedia conference system. However, the implementation of the mixing algorithm is based on the backup of synchronous audio mixing and transmitting mechanism. The circular mixing buffer (CMB) proposed by Perkins is analyzed, and then a realtime synchronous audio mixing and transmitting scheme is presented. This scheme is achieved by setting multiCMBs and controlling them synchronously. The length of data used for mixing is decided by the one of data storing in the soundcard buffer which reflects operating system (OS) scheduling. This can alleviate the influence of OS scheduling on the audio mixing operation. Experiment results manifest that our scheme is feasible and steady.

Key words: centralized multimedia conference system, audio mixing, circular mixing buffer, synchronization, system scheduling

中图分类号: