July 06, 2015, 01:31:51 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Issue with snd-aloop and alsaloop in my embedded linux custom board  (Read 390 times)

Offline appu

  • New Member
  • Posts: 1
Dear Technical Team,

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@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@am335x-evm:/#


Kindly do the needful as early as possible,

Many Thanks in advance