The YUV/RGB handlers and PCM handlers that are described in the first two articles are handlers of the AV raw data. This article begins with a description of the audio stream handler. The program described in this article is a video bitstream handler. The location of the video stream in the video player is shown below.The program in this article is a code stream parsing program. The program can analyze the basic unit Nalu from the H. A stream, and can
Address: http://blog.csdn.net/qianjin0703/article/details/6387662
0. Special terms
1. Physical Structure
2. System Architecture
This article uses the Freescale IMX platform codec alc5625 as an example.
0. Special terms
ASLA-advanced sound Linux architecture
OSS-previous Linux audio architecture, replaced by ASLA and compatible
Codec-coder/Decoder
I2S/PCM/ac97-codec and audio communication protocol/interface/bus between
devices. This series of blog posts only discuss ALSA-driver and ALSA-SOC in embedded systems. Ii. ALSA device file structure
Let's start our ALSA journey from the device file structure of ALSA in Linux. Let's take a look at the structure of the device file of the Alsa driver in my computer:
$ CD/dev/SND$ LS-l
CrW-RW ---- + 1 root audio 116, 8 controlc0CrW-RW ---- + 1 root audio 116, 4 midic0d0CrW-RW ---- + 1 root audio 116, 7 pcmc0d0cCrW-RW ---- + 1 root audio 116, 6 pcmc0d0pCrW-RW ---- + 1
recording application. Therefore, speech recognition must share the above resources with the recording application. Speech recognition is divided into four sub-processes: preprocessing, feature extraction, training, and matching. The four sub-processes are not repeated during running time. The reuse of the above resources is considered based on the running time of each sub-process. Considering that 80251 uses the hardware bank mechanism, the speech recognition code space is not affected. Theref
0. Special terms
1. Physical Structure
2. System Architecture
This article uses the Freescale IMX platform codec alc5625 as an example.
0. Special terms
ASLA-advanced sound Linux architecture
OSS-previous Linux audio architecture, replaced by ASLA and compatible
Codec-coder/Decoder
I2S/PCM/ac97-codec and audio communication protocol/interface/bus between CPU
Dai-digital audio interface is actually I2S/PCM
IOS audio development-'audiostreambasicdescription'
This class provides descriptions of audio files
An audio stream is a continuous series of data that represents a sound, such as a song.
A channel is a discrete track of monophonic audio. A monophonic stream has one channel; a stereo stream has two channels.
A sample is single numerical value for a single audio channel in an audio stream.
A frame is a collection of time-coincident samples. For instance, a linear
it to view the audio file.You don't need to talk about the playback buttons below ~~~~~~~ Cube Media Player 2 supports scanned filesVas ss2 ADX PSS SFD AFS CVM
Supported information1. Sony ADPCMThis type of audio is a compressed audio format developed by Sony and is widely used in PS and PS2 games.2. cri ADPCMAn audio compression format developed by a software company (CRI) in Japan, is widely used in DC, ps2, X-BOX.3. PSS videoSony provides standard PS2 video solutions for various gaming
directly connected to the input/output unit of TM1300.The A/D and D/A chips on the audio input/output interfaces use the ad1849 stereo processing chip of Analog Devices. Ad1849 is a 16-bit serial interface stereo signal decoder. It has multiple input channels and output channels, and supports four encoding modes: μ-rate PCM, A-rate PCM, 16-bit linear PCM, and 8-
Symptoms:
1. When some sound software is opened, other sound software has no sound.
2. More serious: I don't know what software is occupying the sound. When I use totem to play a movie,"He audio device is busy. Is another application using it? "Warning: when playing rhythmboxbo, all music files are skipped due to an error.
Solution:
Reference: http://wiki.ubuntu.com.cn/Ubuntu%E5%B8%B8%E8%A7%81%E9%97% AE %E7%AD%94
First: sudo apt-Get install libesd-alsa0Second: sudo gedit/etc/asound.
# Sudo Su
ALSA-lib also requires cross-compilation in make install. Therefore, you must add the path of the Cross-compiler to the path environment variable.
# Export Path = $ path:/usr/local/ARM/4.3.2/bin make install
L compile ALSA-utils
. /Configure -- Host = arm-None-Linux-gnueabi -- prefix =/usr/share/ARM-ALSA/-- With-ALSA-inc-Prefix =/usr/share/ARM- ALSA/include -- With-ALSA-Prefix =/usr/share/ARM-ALSA/lib -- disable-xmlto -- disable-alsamixer
L copy ALSA-lib and ALSA-utils TO THE DEVEL
one-way latency;
2.8
AGC solves the problem of inconsistent two-way speech stream strength
The process of adjusting the signal to the standard value;
3
Speech compression and encoding technology
The 8 K sampling rate of PCM is derived from the nycept theorem that if sampling is at a rate of 2 times the highest frequency, the signal can be completely restored to the analog form-most sounds are less than 4 kHz;
Both a-Law and U-law use the compres
/local/share -- With-plugindir =/usr/local/lib /alsa_lib
Note the -- with -- configdir option here. it will affect include/config. alsa_config_dir directory in H. it is your -- prefix directory by default. in this way, the embedded cross-compilation will be a desktop path in libasoud. so run. will prompt, if this prompt is displayed, it is generally caused by alsa_config_dir path error.
ALSA lib PCM. C: 2145 :( snd_pcm_open_noupdate) unk
/46046497 (Thank you)We need to compile the Libmp3lame.a and lame.h two files, both in the compiled Thin-lame and fat-lame files. Choose according to your own needs, I use two files in Fat-lameDo not want to compile words can adopt mine, should also not have what problem https://pan.baidu.com/s/1dFepCIl extract password: Reck2 Conversion and synthesis methods (both conversion and synthesis are written in OC)Reference: Https://github.com/CharmingLee/RecordingDemo (thank you)Two files defined conv
type of our WAV file is "WAV"
The Form type structure is as follows:Contains the structure of the form type
The data area of the same FOURCC as List Subchunk also contains the list Type, which is used to represent the format of the range in the list
Pulse code modulation (PCM)Let's take a look at the Baidu encyclopedia to explain it:"PCM Pulse code modulation is the abbreviation of the P
!notrunning (status. containerstatuses) {//We shouldnt delete pods that still has running containers glog. V (3). Infof ("Pod%q is terminated, but some containers was still running", format. Pod (pod)) return false} if Kl.podvolumesexist (pod. UID) !kl.kubeletconfiguration.keepterminatedpodvolumes {//We shouldnt delete pods whose volumes have n OT been cleaned up if we is not keeping terminated pod volumes glog. V (3). Infof ("Pod%q is terminated, but some volumes has not been cleaned up", forma
block of data via Privateinterconnect
But 8i can only pass data blocks that have not been modified, and for "dirty chunks" to be passed by disk, as with Ops
In Oracle9i cachefusion, all blocks of data, either modified or unmodified, can be passed through the Privateinterconnect
The system can be greatly improved
In Cachefusion, each chunk of data is mapped to a cachefusion resource, or a PCM resource
The PCM
the bottom:
“
#ALSA portion
Alias char-major-116 snd
#注释: Main device number used by ALSA
Alias snd-card-0 Snd-card-ymfpci
#snd-card-0 is the first sound card device inside the system, if the system has more than two sound cards,
#可以使用snd-card-1 Snd-card-2 and other methods mapping
# SND-CARD-YMFPCI is the sound card device name.
#OSS/free portion----Because ALSA requires support from OSS Soundcore and other devices in the kernel
Alias Char-major-14 Soundcore
#系统中soundcore
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.