@DenisDangerous

Как получить звук без Pulse?

Меня интересует прямой вывод звука в линуксе, не важно с пульсом или без, главное чтобы если я запускаю FLAC 24 bit 96khz чтобы он с такими же параметрами и передавался на ресивер...

Если вырубить пульс (autospawn no), то звук работает только в kodi, в браузере звука нет. А с пульсом получаем на выходе всегда 48 кгц...

OS: Manjaro Linux
вывод по HDMI card 0 device 7
  • Вопрос задан
  • 707 просмотров
Пригласить эксперта
Ответы на вопрос 2
leahch
@leahch Куратор тега Linux
3D специалист. Dолго, Dорого, Dерьмово.
Можно попробовать и через pulse.

To change the sample rate and audio bit depth we need to edit the configuration file for the pulseaudio server /etc/pulse/daemon.conf.

Please backup the original settings to restore the defaults in case som settings break your audio.
Look for the following entries:

; default-sample-format = s16le
; default-sample-rate = 44100
Both are commented out with ;. This means they are not read as the entries given here are the defaults. Uncoment them and replace them with values that suit you better. Always keep in mind that this may be on cost of system performance or stability when choosing extreme values.

Possible entries for the sample format are: u8, s16le, s16be, s24le, s24be, s24-32le, s24-32be, s32le, s32be float32le, float32be, ulaw, alaw

Possible entries for the sample frequency are anything between 1 and 192000 Hz (choose sensible values!)

Save this file as ~/.pulse/daemon.conf or in it's original location (you need to be root then). In order for changes to take effect pulseaudio needs to be restarted with pulseaudio -k in a terminal, or by log out and log back in.
Ответ написан
Ernillew
@Ernillew
Администрирую *nix-системы с 1997 года
> Если вырубить пульс (autospawn no), то звук работает только в kodi, в браузере звука нет.

В каком именно браузере? Их существует два десятка. Смотрите как используемый вами браузер выводит звук, если гонит в какой-нибудь гстример, то смотрите его настройке по работе напрямую с алсой.

> А с пульсом получаем на выходе всегда 48 кгц

Вы его настраивать не пробовали?
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы