Dear Clemens,
As you suggested am using jack plugin, but am facing the below error
etc/asound.conf
pcm.!default { type plug slave { pcm "jack" } }
pcm.jack { type jack playback_ports { 0 alsa_pcm:playback_1 1 alsa_pcm:playback_2 } capture_ports { 0 alsa_pcm:capture_1 1 alsa_pcm:capture_2 } }
ctl.mixer0 { type hw card 0 }
root@am335x-evm:/# aplay -D pcm.jack TangoForTajMusic11.wav ALSA lib /home/jenkins/amsdk-nightly-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM pcm.jack aplay: main:722: audio open error: No such file or directory root@am335x-evm:/#
Pls find the details of the architecture as below:
what ever the GSM analog audio out data is pumped as VINR to stereo codec & the output of the stereo codec ie., VOUTR is pumped to the Speaker of the custom board
what ever the GSM analog audio out data is pumped as VINR to stereo codec & the output of the stereo codec ie., VOUTR is pumped to the Speaker of the custom board GSM MIC-> VINR -> stereo codec->VOUTR -> board speaker
what ever the board MIC data is pumped as VINL to stereo codec & the output of the stereo codec ie., VOUTL is pumped as analog input to the GSM Speaker Board Mic -> VINL-> stereo codec -> VOUTL ->GSM speaker
Pls let me know if any other details is required from my side
Kindly do the needful as early as possible Awaiting for your suggestions
________________________________________ From: Clemens Ladisch clemens@ladisch.de Sent: Friday, April 24, 2015 6:15 PM To: Srinivasan S Cc: alsa-devel@alsa-project.org; linux-audio-dev@lists.linuxaudio.org Subject: Re: [alsa-devel] Fw: Using loopback card to Connect GSM two way call to the real sound card UDA1345TS
Srinivasan S wrote:
did you mean that , If I use Jack plugin , does it resolve this problem (ie., does the CPU consumption reduce drastically instead of dshare)
It is unlikely that running your two programs on top of Jack will use less CPU than with dshare. However, I don't know the details of your architecture, so the only way to find out would be for you to try it.
Regards, Clemens