Getting stream county timely and update r/w pointer
The newest ALSA PCM equipment spends two groups of PCM associated variables. The brand new equipment details gets the weight malfunction particularly format, speed, count away from streams, ring buffer proportions etcetera. The software program parameters contains the software (driver) relevant variables. Brand new communication habits can be regulated thru such variables, such automated start, automated avoid, interrupting (amount recognize) an such like. The software details will likely be modified any moment (when valid tools variables are ready). It gives the newest powering condition as well.
Knowledge relevant parameters
This new ALSA PCM products utilize the parameter polishing program to possess equipment details – snd_pcm_hw_params_t. It indicates ostaa vaimo, you to definitely software buy the full-listing of settings initially immediately after which application kits unmarried details until all variables try elementary (definite).
ALSA knows about four availability methods. The first three can be used for direct telecommunications. The new supply mode SND_PCM_ACCESS_MMAP_INTERLEAVED determines the fresh new head thoughts town and you may interleaved decide to try company. Interleaved team mode, that samples out-of streams is combined together. The access setting SND_PCM_ACCESS_MMAP_NONINTERLEAVED establishes new lead memories urban area and non-interleaved try organization. Continue Reading