Alsa library has different version of read and driver interaction functions why?

83 Views Asked by At

I was going through alsa library code, I wanted to know read function that is being used. However I see there are more than one version of read functions. i.e

.readi = snd_pcm_hw_readi
.readi = snd_pcm_ioplug_readi
.readi = snd_pcm_mmap_readi
.readi = snd_pcm_dshare_readi
.readi = snd_pcm_plugin_readi

I am not sure how does alsa library choose which function to use ?

what params make it choose different API's (like swparams ,hwparams)

0

There are 0 best solutions below