首页 | 本学科首页   官方微博 | 高级检索  
     

基于WinCE Wavedev2驱动的音频通道切换算法
引用本文:罗欢,王国胤,张水玲.基于WinCE Wavedev2驱动的音频通道切换算法[J].计算机工程与设计,2012,33(8):2995-2999,3068.
作者姓名:罗欢  王国胤  张水玲
作者单位:1. 重庆邮电大学计算机科学与技术研究所,重庆,400065
2. 深圳市欣视景科技有限公司,广东深圳,518037
基金项目:国家自然科学基金项目(61073146)
摘    要:为了在资源有限的设备上实时切换数据传输通道,研究了Wavedev2驱动,在驱动双DMA(直接内存存取)数据传输框架下,提出了中断轮询通道切换算法。结合中断探测的准确性和循环探测的实时性,实现了空闲时不占用CPU的数据通道切换功能,并把它应用于录音回放通道切换和耳机探测问题中。算法分析及实验对比结果表明,该算法在实用性上优于通用的循环探测算法和IST(中断服务线程)探测算法。

关 键 词:中断轮询  通道切换  音频  Wavedev2驱动  WinCE系统  嵌入式

Audio channels switching algorithm based on WinCE Wavedev2 drive
LUO Huan , WANG Guo-yin , ZHANG Shui-ling.Audio channels switching algorithm based on WinCE Wavedev2 drive[J].Computer Engineering and Design,2012,33(8):2995-2999,3068.
Authors:LUO Huan  WANG Guo-yin  ZHANG Shui-ling
Affiliation:1.Institute of Computer Science and Technology,Chongqing University of Posts and Telecommunications,Chongqing 400065,China;2.Shenzhen Seagen Science and Technology Corporation Limited,Shenzhen 518037,China)
Abstract:To switching the data transmission channel on limited resources equipment at real time,first do research on Wavedev2 driver,then an interrupt polling algorithm under the double DMA(Direct Memory Access) data transmission framework is proposed.The method synthesis of the accuracy of interrupt detection and the real time of cycle detection,the channel switch function which not occupy CPU on free time.The feasibility of the method is validated by applying it in the recording and playback channel switching and headphones detection.Results of the algorithm analysis and the experiments indicate the proposed method is better than the general cycling detection algorithm and the IST(interrupt server thread) detection algorithm in practicability.
Keywords:interrupt polling  channels switching  audio  Wavedev2 Driver  WinCE system  embedded
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号