[alsa-devel] Fw: Using loopback card to Connect GSM two way call to the real sound card UDA1345TS

Srinivasan S srinivasan.s at tataelxsi.co.in
Wed Jul 8 17:25:10 CEST 2015


Dear Clemens,

Thanks a lot for your support Clemens

As you suggested, When I try to use alsa jack plugin, am facing the below error

root at lifeline:/# vi etc/asound.conf
pcm.rawjack {
type jack
playback_ports {
0 system:playback_1
1 system:playback_2
}
capture_ports {
0 system:capture_1
1 system:capture_2
}
}

pcm.jack {
type plug
slave { pcm "rawjack" }
hint {
description "JACK Audio Connection Kit"
}
}

pcm.!default {
type plug
slave { pcm "rawjack" }
}

root at lifeline:/opt/tunstall/audio# 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/dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_jack.so
aplay: main:722: audio open error: No such device or address
root at lifeline:/opt/tunstall/audio#


I feel order to resolve this error, 

1. I feel that there is no libasound_module_pcm_jack.so,  I have downloaded the alsa-plugins-1.0.29 could you please help me out how this can be cross compiled for my TI AM335x platform

2. Could you please let me know to cross compile &  install the package libasound2-dev 

Could you please help me out in resolving this issue

Kindly do the needful as early as possible

Many Thanks a lot for your support once again w.r.t this thread so far

________________________________________
From: Clemens Ladisch <clemens at ladisch.de>
Sent: Wednesday, July 1, 2015 7:41 PM
To: Srinivasan S
Cc: alsa-devel at alsa-project.org; linux-audio-dev at 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:
> Am facing overrun & underrun issues, when I run the the above GSM application with the attached asound.conf

The sound card and the GSM streams are not synchronized.
You need to compensate for the drift between the clocks, typically by resampling.
(Jack's alsa_in/alsa_out would automatically do this.)


Regards,
Clemens


More information about the Alsa-devel mailing list