Re: [pulseaudio-discuss] [PATCH] alsa-mixer: make the mono mapping a fallback only
On Fri, 2018-06-08 at 21:10 +0530, Arun Raghavan wrote: > > On Fri, 8 Jun 2018, at 2:09 AM, Tanu Kaskinen wrote: > > On Thu, 2018-06-07 at 17:17 +0200, Georg Chini wrote: > > > On 01.06.2018 10:24, Tanu Kaskinen wrote: > > > > If a sound card doesn't have the "front" device defined for it, we have > > > > to use the "hw" device for stereo. Not so long ago, the analog-stereo > > > > mapping had "hw:%f" in its device-strings and everything worked great, > > > > except that it caused trouble with the Intel HDMI LPE driver that uses > > > > the first "hw" device for HDMI, and we were incorrectly detecting it as > > > > an analog device. That problem was fixed in commit ea3ebd09, which > > > > removed "hw:%f" from analog-stereo and added a new stereo fallback > > > > mapping for "hw". > > > > > > > > Now the problem is that if a sound card doesn't have the "front" device > > > > defined for it, and it supports both mono and stereo, only the mono > > > > mapping is used, because the stereo mapping is only a fallback. This > > > > patch makes the mono mapping a fallback too, so the mono mapping is used > > > > only if there's absolutely nothing else that works. > > > > > > > > This can cause trouble at least in theory. Maybe someone actually wants > > > > to use mono output on a card that supports both mono and stereo. But > > > > that seems quite unlikely. > > > > --- > > > > src/modules/alsa/alsa-mixer.c | 1 + > > > > .../alsa/mixer/profile-sets/default.conf | 18 ++ > > > > 2 files changed, 11 insertions(+), 8 deletions(-) > > > > > > > > > > Looks good to me. I don't mind having it in 12.0, but let Arun have > > > the last word. > > > > > > BTW, when are we going to release 12.0? I have not heard any > > > complaints yet. > > > > Next week seems possible. Hopefully Arun can comment on this patch. > > > > -- > > From a risk perspective, if there are no or barely any complaints > around this, I would rather ship 12.0 now and push to next. I've seen one complaint, which I guess means that this issue goes to the "barely any complaints" category. I'll push this just to the next branch then. -- Tanu https://liberapay.com/tanuk https://www.patreon.com/tanuk ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Error using with Echo Cancellation Module with VoIP
Its been a while since I used baresip but I remember it having built in echo cancellation. Are you sure that it does not? Can you provide a citation? On Mon, Jun 11, 2018 at 11:45 AM, Dferop Aero wrote: > Thank Russell for your fast reply, > > > I use Baresip. As you can check in the following link, Baresip uses the EC > module of Pulseaudio > > > https://github.com/alfredh/baresip/wiki/Using-PulseAudio: > -module-echo-cancel > > Do you know any other good VoIP client for linux with a low CPU > consumption and Echo Canceller inside ? > > And what do you think about the error i get ? > > Thank you very much in advance > > > > -- > *De:* pulseaudio-discuss > en nombre de Dferop Aero > *Enviado:* lunes, 11 de junio de 2018 16:43 > *Para:* pulseaudio-discuss@lists.freedesktop.org > *Asunto:* [pulseaudio-discuss] Error using with Echo Cancellation Module > with VoIP > > > Hello, > > > I have always the same error when i use the Echo Cancellation Module. > > > I get the same error all the time: > > > May 31 09:30:54 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] > module-echo-cancel.c: Playback after capture (-87178), drop sink 1414 > May 31 09:30:55 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] > module-echo-cancel.c: Playback after capture (-87698), drop sink 1422 > May 31 09:30:56 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] > module-echo-cancel.c: Playback after capture (-87148), drop sink 1414 > May 31 09:30:57 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] > module-echo-cancel.c: Playback after capture (-87279), drop sink 1416 > > It doesn't matter if i change the configuration parameters, i always get > the same error. > > I thouhgt it was a problem of CPU (A20 dual core 950MHz, performance) so i > have one isolated core running only Pulseaudio. In this case, the CPU > consumption is only 20%, so now i don't think it is a problem of CPU > > As I said, It doesn't matter if i change the configuration parameters, i > always get the same error... "drop sink 14xx" (more or less) > > I use tsched=0 in default.pa, if i set tsched=1 the error increases > > For the rest of parameters, same error. I have checked it with webrtc, > adrian and speex. > > Besides I have set different values for the buffer (size and mseconds) in > daemon.conf > > > Because of this error, it seems that the audio is not fluid, the audio is > choppy > > > I hope you can help me, > > > Thank you very much in advance, > > > Paul > > ___ > pulseaudio-discuss mailing list > pulseaudio-discuss@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss > > -- Sincerely, Russell Treleaven sip:rtrelea...@sip.bunnykick.ca ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Error using with Echo Cancellation Module with VoIP
Linphone is worth a look. Stop by the pulseaudio irc channel and someone will likely have a look. On Mon, Jun 11, 2018, 11:45 AM Dferop Aero wrote: > Thank Russell for your fast reply, > > > I use Baresip. As you can check in the following link, Baresip uses the EC > module of Pulseaudio > > > > https://github.com/alfredh/baresip/wiki/Using-PulseAudio:-module-echo-cancel > > Do you know any other good VoIP client for linux with a low CPU > consumption and Echo Canceller inside ? > > And what do you think about the error i get ? > > Thank you very much in advance > > > > -- > *De:* pulseaudio-discuss > en nombre de Dferop Aero > *Enviado:* lunes, 11 de junio de 2018 16:43 > *Para:* pulseaudio-discuss@lists.freedesktop.org > *Asunto:* [pulseaudio-discuss] Error using with Echo Cancellation Module > with VoIP > > > Hello, > > > I have always the same error when i use the Echo Cancellation Module. > > > I get the same error all the time: > > > May 31 09:30:54 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] > module-echo-cancel.c: Playback after capture (-87178), drop sink 1414 > May 31 09:30:55 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] > module-echo-cancel.c: Playback after capture (-87698), drop sink 1422 > May 31 09:30:56 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] > module-echo-cancel.c: Playback after capture (-87148), drop sink 1414 > May 31 09:30:57 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] > module-echo-cancel.c: Playback after capture (-87279), drop sink 1416 > > It doesn't matter if i change the configuration parameters, i always get > the same error. > > I thouhgt it was a problem of CPU (A20 dual core 950MHz, performance) so i > have one isolated core running only Pulseaudio. In this case, the CPU > consumption is only 20%, so now i don't think it is a problem of CPU > > As I said, It doesn't matter if i change the configuration parameters, i > always get the same error... "drop sink 14xx" (more or less) > > I use tsched=0 in default.pa, if i set tsched=1 the error increases > > For the rest of parameters, same error. I have checked it with webrtc, > adrian and speex. > > Besides I have set different values for the buffer (size and mseconds) in > daemon.conf > > > Because of this error, it seems that the audio is not fluid, the audio is > choppy > > > I hope you can help me, > > > Thank you very much in advance, > > > Paul > ___ > pulseaudio-discuss mailing list > pulseaudio-discuss@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss > ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Error using with Echo Cancellation Module with VoIP
Thank Russell for your fast reply, I use Baresip. As you can check in the following link, Baresip uses the EC module of Pulseaudio https://github.com/alfredh/baresip/wiki/Using-PulseAudio:-module-echo-cancel Do you know any other good VoIP client for linux with a low CPU consumption and Echo Canceller inside ? And what do you think about the error i get ? Thank you very much in advance De: pulseaudio-discuss en nombre de Dferop Aero Enviado: lunes, 11 de junio de 2018 16:43 Para: pulseaudio-discuss@lists.freedesktop.org Asunto: [pulseaudio-discuss] Error using with Echo Cancellation Module with VoIP Hello, I have always the same error when i use the Echo Cancellation Module. I get the same error all the time: May 31 09:30:54 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] module-echo-cancel.c: Playback after capture (-87178), drop sink 1414 May 31 09:30:55 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] module-echo-cancel.c: Playback after capture (-87698), drop sink 1422 May 31 09:30:56 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] module-echo-cancel.c: Playback after capture (-87148), drop sink 1414 May 31 09:30:57 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] module-echo-cancel.c: Playback after capture (-87279), drop sink 1416 It doesn't matter if i change the configuration parameters, i always get the same error. I thouhgt it was a problem of CPU (A20 dual core 950MHz, performance) so i have one isolated core running only Pulseaudio. In this case, the CPU consumption is only 20%, so now i don't think it is a problem of CPU As I said, It doesn't matter if i change the configuration parameters, i always get the same error... "drop sink 14xx" (more or less) I use tsched=0 in default.pa, if i set tsched=1 the error increases For the rest of parameters, same error. I have checked it with webrtc, adrian and speex. Besides I have set different values for the buffer (size and mseconds) in daemon.conf Because of this error, it seems that the audio is not fluid, the audio is choppy I hope you can help me, Thank you very much in advance, Paul ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Error using with Echo Cancellation Module with VoIP
Why don't you use the EC that is built in to your voip application? BTW what is your voip application? On Mon, Jun 11, 2018 at 10:43 AM, Dferop Aero wrote: > Hello, > > > I have always the same error when i use the Echo Cancellation Module. > > > I get the same error all the time: > > > May 31 09:30:54 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] > module-echo-cancel.c: Playback after capture (-87178), drop sink 1414 > May 31 09:30:55 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] > module-echo-cancel.c: Playback after capture (-87698), drop sink 1422 > May 31 09:30:56 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] > module-echo-cancel.c: Playback after capture (-87148), drop sink 1414 > May 31 09:30:57 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] > module-echo-cancel.c: Playback after capture (-87279), drop sink 1416 > > It doesn't matter if i change the configuration parameters, i always get > the same error. > > I thouhgt it was a problem of CPU (A20 dual core 950MHz, performance) so i > have one isolated core running only Pulseaudio. In this case, the CPU > consumption is only 20%, so now i don't think it is a problem of CPU > > As I said, It doesn't matter if i change the configuration parameters, i > always get the same error... "drop sink 14xx" (more or less) > > I use tsched=0 in default.pa, if i set tsched=1 the error increases > > For the rest of parameters, same error. I have checked it with webrtc, > adrian and speex. > > Besides I have set different values for the buffer (size and mseconds) in > daemon.conf > > > Because of this error, it seems that the audio is not fluid, the audio is > choppy > > > I hope you can help me, > > > Thank you very much in advance, > > > Paul > > ___ > pulseaudio-discuss mailing list > pulseaudio-discuss@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss > > -- Sincerely, Russell Treleaven sip:rtrelea...@sip.bunnykick.ca ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] Error using with Echo Cancellation Module with VoIP
Hello, I have always the same error when i use the Echo Cancellation Module. I get the same error all the time: May 31 09:30:54 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] module-echo-cancel.c: Playback after capture (-87178), drop sink 1414 May 31 09:30:55 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] module-echo-cancel.c: Playback after capture (-87698), drop sink 1422 May 31 09:30:56 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] module-echo-cancel.c: Playback after capture (-87148), drop sink 1414 May 31 09:30:57 localhost pulseaudio[753]: [alsa-source-CDC PCM Codec-0] module-echo-cancel.c: Playback after capture (-87279), drop sink 1416 It doesn't matter if i change the configuration parameters, i always get the same error. I thouhgt it was a problem of CPU (A20 dual core 950MHz, performance) so i have one isolated core running only Pulseaudio. In this case, the CPU consumption is only 20%, so now i don't think it is a problem of CPU As I said, It doesn't matter if i change the configuration parameters, i always get the same error... "drop sink 14xx" (more or less) I use tsched=0 in default.pa, if i set tsched=1 the error increases For the rest of parameters, same error. I have checked it with webrtc, adrian and speex. Besides I have set different values for the buffer (size and mseconds) in daemon.conf Because of this error, it seems that the audio is not fluid, the audio is choppy I hope you can help me, Thank you very much in advance, Paul ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] Enabling HSP profie in i.MX6 board
Hi all, I am using i.MX6 Evaluation board. I need to enable HSP profile in board and record voice from board to a mobile phone. I have connected one USB Mic to board to record audio input. Currently "a2dp_source" profile is the active one. Pulseaudio is up and running. Able to list, pair and connect to mobile phone via bluetooth using bluetoothctl command. Able to set Handset profile using following command. "pactl set-card-profile 0 headset_audio_gateway" I have given voice input to Mic. At the same time I tried to record this on my bluetooth connected mobile phone using a Voice recorder Application. Not able to record voice to the Mic in mobile phone. Any input on this? Any hint or clue will be greatly appreciated. Thanks, Chintha Confidentiality Statement / Disclaimer : This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt. The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message. ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss