[pulseaudio-discuss] pulseaudio + skype = echo

student975 at yandex.ru student975 at yandex.ru
Sat Jun 21 04:43:44 PDT 2014


Hi! 

Please, help to resolve the issue.

Up to date Arch Linux is in use.

Skype 4.3 is announced to support pulseaudio only (alsa support is removed). 
To prepare to upcoming upgrade I have played with pulse + skype. To keep all
alsa setup (I have three cards) I have just assigned two alsa devices (dmix
and dsnoop) to pulse's sink and source

load-module module-alsa-sink device=iceDmixer
load-module module-alsa-source device=iceDsnoop

All does work as expected except for big sound delay (my side) against
video resulting also in unacceptable echo (my respondent's side). I
guess the delay is too large to be processed by skype echo cancelation.

I'm aware of delay defined in skype .desktop file, but delay duration
is hundreds ms (I guess ~500ms) rather 60ms.

It is a list of sinks at the moment of test skype call:

~ $ pacmd list-sink-inputs
2 sink input(s) available.
    index: 0
        driver: <module-combine-sink.c>
        flags: VARIABLE_RATE DONT_MOVE NO_CREATE_SUSPEND 
        state: RUNNING
        sink: 0 <alsa_output.dmix>
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        muted: no
        current latency: 0.00 ms
        requested latency: 200.00 ms
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        resample method: trivial
        module: 11
        properties:
                media.name = "Simultaneous output on VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (Aureon 7.1 Space)"
                media.role = "filter"
                module-stream-restore.id = "sink-input-by-media-role:filter"
    index: 3
        driver: <protocol-native.c>
        flags: START_CORKED 
        state: RUNNING
        sink: 1 <combined>
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        muted: no
        current latency: 217.88 ms
        requested latency: 200.00 ms
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        resample method: speex-float-1
        module: 8
        client: 10 <Skype>
        properties:
                window.icon_name = "skype"
                application.icon_name = "skype"
                media.role = "phone"
                media.name = "Output"
                application.name = "Skype"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "29"
                application.process.id = "2139"
                application.process.user = "anli"
                application.process.host = "jazz"
                application.process.binary = "skype"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "07c622b729d500bbcb3a0c8d00000427"
                application.process.session_id = "c1"
                module-stream-restore.id = "sink-input-by-media-role:phone"


a


More information about the pulseaudio-discuss mailing list