Skype+OSSv4

Настраивал skype для работы с OSS и столкнулся с такой проблемой, что не работает микрофон в скайпе через эмуляцию ALSA (в ~/.asoundrc прописан type oss для mixer.!default и pcm.!deault)
Pulseaudio при запуске от пользователя определяется в skype как "PulseAudio server (local)", работает микрофон, но звук хрипит. Выставление realtime не удаётся:

Цитата:
I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Операция не позволяется
I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Операция не позволяется
I: core-util.c: Failed to acquire high-priority scheduling: Отказано в доступе

Если запускать от root'а, то skype видит сервер, но звука никакого нет

настройки /etc/pulse/daemon.conf

Цитата:
system-instance = yes
high-priority = yes
nice-level = -20
realtime-scheduling = yes
realtime-priority = 5

Как настроить pulseaudio, чтобы был звук под root'ом, или под пользователем работал в realtime?

а просто с алсой как работает

а просто с алсой как работает ?
какая версия скайпа,мне пришлось ставить ... 2.0.81 ибо новая косячит с микрофоном...

С обычной альсой работал.

С обычной альсой работал.

Так в портаже только одна:

Так в портаже только одна: net-im/skype-2.1.0.81
Это у нее проблемы?

По идее, возможно заставить

По идее, возможно заставить эмулированную альсу считывать данные с микрофона, потому что

Цитата:
arecord -f S16_LE - | aplay -F S16_LE -

не читает данные с микрофона, а

Цитата:
ossrecord - | ossplay -

читает.

Настройки микшера:

Цитата:
$ ossmix
Selected mixer 0/High Definition Audio ALC885
Known controls are:
jack.green.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.green.mute ON|OFF (currently OFF)
jack.black.mode <front|rear|center/LFE|side|pcm4|input> (currently center/LFE)
jack.black [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.black.mute ON|OFF (currently ON)
jack.orange.mode <front|rear|center/LFE|side|pcm4|input> (currently rear)
jack.orange [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.orange.mute ON|OFF (currently ON)
jack.gray.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.gray [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.gray.mute ON|OFF (currently ON)
jack.pink.mode <front|rear|center/LFE|side|pcm4|input> (currently input)
jack.pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.pink.mute ON|OFF (currently OFF)
jack.fp-pink.mode <front|rear|center/LFE|side|pcm4|input> (currently input)
jack.fp-pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-pink.mute ON|OFF (currently ON)
jack.blue.mode <front|rear|center/LFE|side|pcm4|input> (currently input)
jack.blue [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.blue.mute ON|OFF (currently OFF)
jack.fp-green.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.fp-green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-green.mute ON|OFF (currently ON)
record.mix.mute.mic1 ON|OFF (currently OFF)
record.mix.mute.fp-mic1 ON|OFF (currently ON)
record.mix.mute.linein1 ON|OFF (currently ON)
record.mix.mute.fp-headphone1 ON|OFF (currently ON)
record.mix.mute.green1 ON|OFF (currently ON)
record.mix.mute.black1 ON|OFF (currently ON)
record.mix.mute.orange1 ON|OFF (currently ON)
record.mix.mute.gray1 ON|OFF (currently ON)
record.mix.mute.input-mix1 ON|OFF (currently ON)
record.mix1 [<leftvol>:<rightvol>] (currently 45.9:45.9 dB)
record.mix.mute.mic2 ON|OFF (currently ON)
record.mix.mute.fp-mic2 ON|OFF (currently ON)
record.mix.mute.linein2 ON|OFF (currently ON)
record.mix.mute.fp-headphone2 ON|OFF (currently ON)
record.mix.mute.green2 ON|OFF (currently ON)
record.mix.mute.black2 ON|OFF (currently ON)
record.mix.mute.orange2 ON|OFF (currently ON)
record.mix.mute.gray2 ON|OFF (currently ON)
record.mix.mute.input-mix2 ON|OFF (currently ON)
record.mix2 [<leftvol>:<rightvol>] (currently 45.9:45.9 dB)
record.mix.mute.mic3 ON|OFF (currently ON)
record.mix.mute.fp-mic3 ON|OFF (currently ON)
record.mix.mute.linein3 ON|OFF (currently ON)
record.mix.mute.fp-headphone3 ON|OFF (currently ON)
record.mix.mute.green3 ON|OFF (currently ON)
record.mix.mute.black3 ON|OFF (currently ON)
record.mix.mute.orange3 ON|OFF (currently ON)
record.mix.mute.gray3 ON|OFF (currently ON)
record.mix.mute.input-mix3 ON|OFF (currently ON)
record.mix3 [<leftvol>:<rightvol>] (currently 37.9:37.9 dB)
misc.mic [<leftvol>:<rightvol>] (currently 0.0:0.0 dB)
misc.fp-mic [<leftvol>:<rightvol>] (currently 0.0:0.0 dB)
misc.linein [<leftvol>:<rightvol>] (currently 0.0:0.0 dB)
misc.fp-headphone [<leftvol>:<rightvol>] (currently 0.0:0.0 dB)
misc.green [<leftvol>:<rightvol>] (currently 0.0:0.0 dB)
misc.black [<leftvol>:<rightvol>] (currently 0.0:0.0 dB)
misc.orange [<leftvol>:<rightvol>] (currently 0.0:0.0 dB)
misc.gray [<leftvol>:<rightvol>] (currently 0.0:0.0 dB)
misc.input-mix <mic|fp-mic|linein> (currently mic)
misc.front-mute ON|OFF (currently OFF)
misc.input-mix-mute1 ON|OFF (currently ON)
misc.front1 [<leftvol>:<rightvol>] (currently 63.9:63.9 dB)
misc.front2 <front|input-mix> (currently front)
misc.rear-mute ON|OFF (currently ON)
misc.input-mix-mute2 ON|OFF (currently ON)
misc.rear1 [<leftvol>:<rightvol>] (currently 63.9:63.9 dB)
misc.rear2 <rear|input-mix> (currently rear)
misc.center/lfe-mute ON|OFF (currently ON)
misc.input-mix-mute3 ON|OFF (currently ON)
misc.center/lfe1 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
misc.center/lfe2 <center/LFE|input-mix> (currently center/LFE)
misc.side-mute ON|OFF (currently ON)
misc.input-mix-mute4 ON|OFF (currently ON)
misc.side1 [<leftvol>:<rightvol>] (currently 63.9:63.9 dB)
misc.side2 <side|input-mix> (currently side)
misc.pcm4-mute ON|OFF (currently ON)
misc.input-mix-mute5 ON|OFF (currently ON)
misc.pcm41 [<leftvol>:<rightvol>] (currently 63.9:63.9 dB)
misc.pcm42 <pcm4|input-mix> (currently pcm4)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
vmix0-src <Fast|High|OFF> (currently High)
vmix0-outvol <monovol> (currently 22.8 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm10 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("mpd")
vmix0.pcm11 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("arecord")
vmix0.pcm12 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("aplay")
vmix0.pcm13 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm14 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm15 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm16 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm17 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)

Вот так читаются данные с

Вот так читаются данные с микрофона:
http://paste.pocoo.org/show/323764/ ossrecord
http://paste.pocoo.org/show/323765/ arecord

Запустил рабочую пульсу под

Запустил рабочую пульсу под рутом, надо было просто добавить загрузку oss модуля в /etc/pulse/system.pa

Цитата:
load-module module-oss device="/dev/dsp" sink_name=output source_name=input mmap=0

Хотя если будет найдено решение для RT под пользователем или вообще без пульсы, буду очень рад.

А хотя облом, хрип есть.

А хотя облом, хрип есть.

У меня тоже ваша проблема,

У меня тоже ваша проблема, что же делать с хрипом?

всем сайтам прогон по каталогам

Похоже пульса слишком

Похоже пульса слишком тормозит, чтобы работать нормально. Пытаться заставить alsa-lib по-человечески работать с oss.

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".