其中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
上傳用戶:金宜