[alsa-devel] Fw: Issue with snd-aloop and alsaloop in my embedded linux custom board

Srinivasan S srinivasan.s at tataelxsi.co.in
Mon Mar 2 04:57:07 CET 2015


Dear All,


I am running out of the below issue, hope could you please help me in resolving this issue or could you please redirect to the respective links where my queries can be posted & get the solutions for the problem


The below is the virtual cards created after configuring snd-aloop in the linux kernel

snd-aloop provided 2 pass-through devices as shown in the below


card 0, device 0

card 0, device 1


But am unable to perform the loop back ie., what ever am playing am unable to record in the virtual device

As per the logs below, am using the below commands to perform loopback, could you please let me know why am unable to perform the loopback with the below commands or please let me know am I missing any configurations


aplay -D hw:0,0,0 play.wav

arecord -D hw:0,1,0 record.wav


root at am335x-evm:/# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: UDA1345TS [TI UDA1345TS], device 0: UDA134x uda134x-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root at am335x-evm:/#



Kindly do the needful as early as possible,


Many Thanks in advance






________________________________
From: Srinivasan S
Sent: Saturday, February 28, 2015 9:27 PM
To: Lars-Peter Clausen
Cc: alsa-devel at alsa-project.org
Subject: Issue with snd-aloop and alsaloop in my embedded linux custom board


Dear Lars,


I hope you were providing solutions for alsa issues, I am running out of the below issue, hope could you please help me in resolving this issue or could you please redirect to the respective links where my queries can be posted & get the solutions for the problem


The below is the virtual cards created after configuring snd-aloop in the linux kernel

snd-aloop provided 2 pass-through devices as shown in the below


card 0, device 0

card 0, device 1


But am unable to perform the loop back ie., what ever am playing am unable to record in the virtual device

As per the logs below, am using the below commands to perform loopback, could you please let me know why am unable to perform the loopback with the below commands or please let me know am I missing any configurations


aplay -D hw:0,0,0 play.wav

arecord -D hw:0,1,0 record.wav


root at am335x-evm:/# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: UDA1345TS [TI UDA1345TS], device 0: UDA134x uda134x-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root at am335x-evm:/#



Kindly do the needful as early as possible,


Many Thanks in advance




More information about the Alsa-devel mailing list