[email protected], for more information, please follow http://user.qzone.qq.com/2692407267
VxWorks Platform sound card driver
The VxWorks platform is a sound card driver that conforms to the Linux platform Oss (Open sound System) audio interface standard and allows users to program audio in the same way as operating OSS files (/DEV/DSP) in Linux. With the support of sound card driver technology, speech recognition (Speech recognition), speech synthesis (Text to Speech), Voip (voice over IP) network telephony, multimedia audio and video player can be implemented under the VxWorks platform, The VxWorks platform is more perfect in the field of multimedia ecological chain establishment.
? Supports VxWorks 5.5, VxWorks 6.6~vxworks6.9 operating system
? VxWorks 6.6 + Platforms support up single-core mode and SMP multicore mode
? Supports sound cards that conform to the AC97 specification
? Supports sound cards that conform to the Highdefinition audio specification
? Supports software mixing (simultaneous voice of multiple applications)
User interface
VxWorks operating system kernel-state sound card driver mainly provides two device file interface. In addition to the vxworks6.x platform, sound card-based applications can operate in the RTP user state or in the DKM kernel state.
? /DEV/DSP interface
The device file used for sampling and playback is the audio data to be played on the device, and it is a sample recording for the device to read.
? /dev/mixer interface
Application-to-mixer software interface. Most of the device files are handled by the IOCTL, and the mixer device allows simultaneous access by multiple users simultaneously. The main parameters include rate sampling frequency, channel mono, channel stereo, Format sampling., volume volume settings, etc.
Provides standard test cases for sound cards under VxWorks
? Play Use Cases
Complete the playback of WAV audio files, this use case runs in the kernel kernel state
This use case plays 16-bit, stereo, 44.1KHz WAV audio files
Time shows where the current play is and the total time of the audio file
VU shows the current spectrum, with a simple representation of the number, + represents the maximum peak
? Recording Use Cases
Complete the sound recording function, this use case runs in user state
This use case uses data in 48KHz, 16-bit, stereo format, recording for 20 seconds and saving in. wav format in the/ATA0A directory.
[email protected], for more information, please follow http://user.qzone.qq.com/2692407267
VxWorks Platform sound card driver