其中sound.c 用于录音和回放。其中特别需要注意的是:1。目前声卡似乎不能打开全双工,所以如果fd = open("/dev/dsp", O_RDWR) ,则无法录音和回放。只能分别设置RDONLY和WRONLY。即半双工方式。否则,就是在录音的时候可以听见,但是无法回放。分析下来似乎是IIC总线中只分配了一个通道给声卡,或者是只启用了一个通道,所以无法录音和放音同步进行。解决方法就是分别以RDONLY方式打开进行录音和WRONLY方式打开进行放音。 Sound1.c用于将录音保存在test.wav文件中,并利用cast test.wav > /dev/sound/dsp回放文件。此处需要注意的是,录音频率必须是44100才能正确回放。否则就会出现类似快放的效果。分析应该是cast方式利用了dsp的默认播放频率44100,所以如果录音的时候低于这个频率,这放的时候就会快放。 此外,设置采样率的时候必须设置成16bit,否则会提示出错。原因尚不知道,估计是与声卡有关。
上传时间: 2013-12-31
上传用户:cc1
Make and answer phone calls Detect tone and pulse digit from the phone line Capture Caller ID Support blind transfer, single-step transfer/conference, consultation transfer/conference, hold, unhold. Control of the local phone handset, microphone and speaker of the modem Send and receive faxes Play and record on the phone line or sound card Play music in background mode Silence detection VU Meter Wave sound editor that allows your end-users to edit their own sound files. Voice recognition and voice synthesis. Full control over the serial port device ZModem file transfer utility File compression and encryption utility
上传时间: 2013-11-30
上传用户:水中浮云
户籍管理系统行 2: 控件 DataEnvironment1 的类 {C0E45035-5775-11D0-B388-00A0C9055D8E} 不是一个已加载的控件类。 行 0: 不能加载文件 D:\户籍管理系统\www.xpcode.com.cn\DataEnvironment1.Dsr 。
标签: DataEnvironment1 45035 5775 9055
上传时间: 2014-01-12
上传用户:梧桐
This directory builds the Tape class driver for Microsoft® Windows® Server 2003. The class driver implements device-independent support, and exports support routines for device-specific tape miniclass drivers. It handles device-independent tape requests and calls the tape minidriver routines to process device-specific functions. Class driver splits transfer requests, when necessary, to fit the maximum transfer size for the underlying host bus adapter. It also provides device-independent, tape-specific error handling, and calls the tape miniclass driver s device-specific error handling routines.
标签: class Microsoft directory reg
上传时间: 2013-12-09
上传用户:huangld
This is the library for all storage drivers. It simplifies writing a storage driver by implementing 90 percent of the code required to support Plug and Play, Power Management, et cetera. This library is used by disk.sys, cdrom.sys and the tape class drivers. No INF file is needed to install this library. The library is 64-bit compliant.
标签: storage implementing simplifies drivers
上传时间: 2014-01-01
上传用户:txfyddz
kissme is a free (GPLed) Java Virtual Machine. It is being developed on GNU/Linux and can run console java applications. kissme is to be used with the GNU Classpath java class library. kissme also provides support for orthogonally persistent java
标签: developed Virtual Machine kissme
上传时间: 2015-12-07
上传用户:qiao8960
◆◆◆ 《如何在 Windows Mobile (WinCE 5.0) 中用Vc++编程查找并连接周围的蓝牙(Bluetooth)设备》◆◆◆\r\n 如何在手机中编程实现蓝牙通信即是本文将要阐述的内容,本文以Windows Mobile 5.0 为开发平台,简单介绍用蓝牙APIs进行编程的要点,并附上一个源代码供大家参考。\r\n 你可以任意修改复制本代码,但请保留这段文字不要修改。\r\n 希望我能为中国的软件行业尽一份薄力!\r\n\r\n ◆◆◆ 作者 ◆◆◆\r\n 谢红伟 · chrys · chrys@163.com · http://www.howa.com.cn\r\n\r\n ◆◆◆ 日期 ◆◆◆\r\n 2007-08-18 23:31:18
标签: Bluetooth Windows Mobile WinCE
上传时间: 2013-12-16
上传用户:libinxny
Abstract: By using gateway systems on large 32-bit platforms, networks of small, 8- and 16-bit microcontrollers can be monitored and controlled over the Internet. With embedded Linux, these gateways are easily moved from full-blown host PCs to embedded platforms like the PC104. In this class you will learn about hardware platforms that support embedded Linux, Linux kernel configuration, feature selection, installation, booting and tuning.
标签: bit platforms Abstract networks
上传时间: 2014-01-05
上传用户:kytqcool
Visual C++ source code for adding GPS units to PC desktop and Notebook exchange data from Serial port to GPS devices support for NMEA-0183 GPS Standard.
标签: Notebook exchange desktop Visual
上传时间: 2015-12-10
上传用户:大融融rr
一个web登录页面的FTP系统,有多国语言,在config.inc.php里设置语言zh-cn
上传时间: 2015-12-10
上传用户:金宜