其中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
verilog語言編寫的FPGA代碼。功能為pc機通過epp不斷寫數到sram中,然后pc發送中斷信號打斷寫過程讀取sram中的數據。rar包中包含epp協議,模塊文件和測試文件(test)。
上傳時間: 2013-12-17
上傳用戶:1966640071
With User Mode Linux you can create virtual Linux machines within a Linux computer and use them to safely test and debug applications, network services, and even kernels. You can try out new distributions, experiment with buggy software, and even test security. Now, for the first time, the creator and maintainer of User Mode Linux shows how to put it to work hands-on. Jeff Dike covers everything from getting started through running enterprise-class User Mode Linux servers. You ll find authoritative advice on bootup, compilation, administration, specialized configurations, and much more.
標簽: Linux computer machines virtual
上傳時間: 2013-12-19
上傳用戶:xinzhch
圖象的壓縮編碼,JPEG壓縮編碼標準 注意事項: 運行時,文件c:\test.pcx;c:\test.jpg必須存在
上傳時間: 2013-12-18
上傳用戶:zsjinju
We propose a novel approach for head tracking, which combines particle filters with Isomap. The particle filter works on the low-dimensional embedding of training images. It indexes into the Isomap with its state variables to find the closest template for each particle. The most weighted particle approximates the location of head. We develop a synthetic video sequence to test our technique. The results we get show that the tracker tracks the head which changes position, poses and lighting conditions.
標簽: approach combines particle tracking
上傳時間: 2016-01-02
上傳用戶:yy541071797
基于 xinlinx 寫的DES加密算法,內涵test bench,加密解密都有
上傳時間: 2016-01-04
上傳用戶:dreamboy36
radius協議源碼÷The Radius Stack will connect to a Radius Server. This stack implementation is built upon the UdpStack which is available in the radius{version}/util directory. A minimal set of VSAs (Vendor Specific Attributes are supported by this stack). The Radius Stack should be used as a base class. In order to implement a larger set of VSAs, one will need to subclass from the Radius Stack and implement the functionality within the virtual function processVsa(). The Radius Stack supports mostly accounting messages. The authentcation messages will be supported in a future release. A test program has been provided in the radius directory. This program shows how to subclass from the RadiusStack and how to use the api.
標簽: Radius implementation connect radius
上傳時間: 2013-12-12
上傳用戶:壞天使kk
openfans 0.1 using: eclipse, maven, spring, hibernate, mysql,common-validator,sitemesh..... Introduction ============ 提供web2.0應用的基本模型,能夠方便的在各個領域使用 Getting Started =============== 需要下載maven,http://maven.apache.org/download.html,如果初次使用maven,配置好后,運行mvn install 如果使用eclipse,在項目根目錄,運行mvn eclipse:eclipse(如初次使用,會花較長時間到網上下載plugin和jar,建議去喝杯咖啡) 使用mvn test運行所有測試,mvn package打包 有任何問題請到http://groups.google.com/group/openfans
標簽: common-validator hibernate openfans sitemesh
上傳時間: 2013-12-19
上傳用戶:wuyuying
視頻捕捉示例程序,可以參考一下,呵呵。videocap test sample.
上傳時間: 2013-12-01
上傳用戶:蟲蟲蟲蟲蟲蟲
This directory contains the memtest 8051 firmware for the Anchor Chips EZ-USB chip. The purpose of this software is to test the different memory segments in the Ez-Usb chip. This example will output the string "good" on the 7 segment LED if the mem test passes, or it will output the first address where the memtest fails.
標簽: directory the contains firmware
上傳時間: 2013-12-16
上傳用戶:gdgzhym