From: Clemens Ladisch <clemens-P6GI/4k7KOmELgA04lAiVw@public.gmane.org>
To: Srinivasan S <srinivasan.s-Ig93jE4/MIihbFNETrL9Qw@public.gmane.org>
Cc: "alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org"
<alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org>,
"linux-audio-dev-cunTk1MwBs/CEJeg2xFRV2D2FQJk+8+b@public.gmane.org"
<linux-audio-dev-cunTk1MwBs/CEJeg2xFRV2D2FQJk+8+b@public.gmane.org>
Subject: Re: [LAD] [alsa-devel] Fw: Using loopback card to Connect GSM two way call to the real sound card UDA1345TS
Date: Thu, 02 Apr 2015 11:43:17 +0200 [thread overview]
Message-ID: <551D0F35.6010709@ladisch.de> (raw)
In-Reply-To: <1427510661706.37789-Ig93jE4/MIihbFNETrL9Qw@public.gmane.org>
Srinivasan S wrote:
> CPU consumption is 18%, with above asound.conf & the app
> alsa_loopback_min_mono.c for establishing my GSM two way call (ie.,
> VINR to VOUTR & VINL to VOUTL) , this is very huge & I want to reduce
> this CPU consumption drastically, Is there any other ways in alsa where
> I can do this two way GSM call (ie., VINR to VOUTR & VINL to VOUTL)
> without using alsa_loopback_min_mono.c application
dmix needs more CPU than dshare because it needs to mix multiple streams
together; if possible, use dshare instead of dmix.
dshare needs more CPU than direct access to the device because the data
needs to be copied and reformatted. dshare is needed only when the
application(s) cannot handle the format of the actual device; if
possible, change your application to handle the two-channel devices.
> And am hearing echo, when I do GSM calls when using the above attachd
> asound.conf & the app alsa_loopback_min_mono.c, could you please help
> me out is there any options to do echo cancellation in alsa?
ALSA has not built-in echo cancellation. You have to implement this
yourself, or use some third-party library.
If dmix/dshare alone eats 18 % CPU, it is unlikely that this is feasible
without hardware support.
> Am trying to completely understand the above attched asound.conf, but
> am not still very clear w.r.t the understanding of bindings
"bindings.x y" or "bindings { x y }" maps channel x of this device to
channel y of the slave device.
Regards,
Clemens
next prev parent reply other threads:[~2015-04-02 9:43 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1425878251963.1340@tataelxsi.co.in>
2015-03-09 5:18 ` Using loopback card to Connect GSM two way call to the real sound card UDA1345TS Srinivasan S
2015-03-09 8:09 ` Clemens Ladisch
[not found] ` <1425922601141.50130@tataelxsi.co.in>
[not found] ` <1425964490006.15084@tataelxsi.co.in>
[not found] ` <1425964490006.15084-Ig93jE4/MIihbFNETrL9Qw@public.gmane.org>
2015-03-10 10:50 ` [LAD] Fw: [alsa-devel] " Clemens Ladisch
2015-03-28 2:43 ` Fw: " Srinivasan S
2015-03-30 11:40 ` Fw: " Srinivasan S
2015-04-01 8:38 ` Srinivasan S
[not found] ` <1427510661706.37789-Ig93jE4/MIihbFNETrL9Qw@public.gmane.org>
2015-04-02 9:43 ` Clemens Ladisch [this message]
2015-04-02 10:36 ` Srinivasan S
2015-04-02 15:08 ` Clemens Ladisch
2015-04-22 6:11 ` Srinivasan S
2015-04-24 6:26 ` Srinivasan S
2015-04-24 6:26 ` Srinivasan S
[not found] ` <1429683117651.11394-Ig93jE4/MIihbFNETrL9Qw@public.gmane.org>
2015-04-24 8:06 ` [LAD] [alsa-devel] " Clemens Ladisch
2015-04-24 12:05 ` Srinivasan S
[not found] ` <1429877130444.23317-Ig93jE4/MIihbFNETrL9Qw@public.gmane.org>
2015-04-24 12:45 ` [LAD] [alsa-devel] " Clemens Ladisch
2015-05-29 11:20 ` Srinivasan S
2015-06-01 6:01 ` Srinivasan S
[not found] ` <HKXPR04MB277B58064C140058C37487EC3B60-T1ls2vrYf5VLAZUorM51PQfhPeD8jYilXA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2015-06-01 14:39 ` [LAD] [alsa-devel] " Clemens Ladisch
2015-06-03 6:05 ` Srinivasan S
[not found] ` <SIXPR04MB2530654AB664B2CE19B4665C3A80@SIXPR04MB253.apcprd04.prod.outlook.com>
2015-07-01 7:34 ` Srinivasan S
[not found] ` <SIXPR04MB2531DB716093D09C156BEA0C3A80-gTWnircbfuxAKSrPHYfF6gfhPeD8jYilXA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2015-07-01 14:11 ` [LAD] [alsa-devel] " Clemens Ladisch
2015-07-08 15:25 ` Srinivasan S
2015-07-09 5:25 ` Srinivasan S
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=551D0F35.6010709@ladisch.de \
--to=clemens-p6gi/4k7komelga04laivw@public.gmane.org \
--cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
--cc=linux-audio-dev-cunTk1MwBs/CEJeg2xFRV2D2FQJk+8+b@public.gmane.org \
--cc=srinivasan.s-Ig93jE4/MIihbFNETrL9Qw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.