0

I am new to ALSA and its userspace configuration. I saw one pcm device in my asoundrc like below

pcm.myalsadev{
    type loop
    device 0
    ipc_perm 0660
    ipc_gid audio
    subdevice 0
    rate 16000
    channels 1
    format S16_LE
}

What is the meaning of plug-in type "loop" ? I checked this document but i cant see any expiation.

I know what is the meaning of the below configuration. Here they are using snd-aloop Linux driver to implement a loopback device, and it is same as hw:Loopback,0,0. Please correct if my understanding is wrong.

pcm.myDev{
    type hw
    card "Loopback"
    device 0
    subdevice 0
    rate 16000
    channels 2
    format S16_LE
}

is both the configuration are same and just an another way of representation ? Thanks in advance!

zappy
  • 1,864
  • 3
  • 18
  • 36
  • `loop` is not one of the built-in plugins. Where does this entry come from? – CL. Aug 04 '20 at 09:48
  • @CL. This is an entry from asound.conf file ,shipped along with a custom HW BSP. if loop is not a built-in plugin , how can i find more info on this ? – zappy Aug 04 '20 at 11:22
  • Ask whoever sold you the BSP. – CL. Aug 04 '20 at 11:25

0 Answers0