From: "Антон Мидюков" <midyukov-anton@ya.ru> To: devel-distro@lists.altlinux.org Subject: Re: [devel-distro] Переключатель между alsa и pulseaudio Date: Sat, 13 Jan 2018 16:56:58 +0700 Message-ID: <833a7abe-77ae-c7de-8fc8-02d3ecfa4028@ya.ru> (raw) In-Reply-To: <20180110163701.GP9899@imap.altlinux.org> [-- Attachment #1: Type: text/plain, Size: 2555 bytes --] 10.01.2018 23:37, Michael Shigorin пишет: > On Wed, Jan 10, 2018 at 10:45:34PM +0700, Антон Мидюков wrote: >> Предлагаю сделать вот такой переключатель между alsa >> и pulseaudio (смотреть приложенный патч). > Была ещё такая задумка, чтоб при подключении +sound получить > сразу звук на альсе (которая всяко по умолчанию как базовое API), > но с плюшечками вроде udev-alsa; а вот при явном +pulse > подключать егойный список пакетов. > > Подумал сейчас и понял, почему она словами толком не пояснялась: > уж больно громоздко. > > Пожалуй, сейчас возьму этот патч для начала (только описание > опять-таки надо дополнить целеполаганием, т.е. "зачем так", > ну да поправлю). > >> Subject: [PATCH] Added a switch between alsa and pulseaudio > А так всё верно, благодарю. Можно готовить следующий с +alsa > в тех промежуточных целях, что обсудили, и остающихся конечных > целях образов вроде regular-lxde. Предлагаю добавить +alsa в mixin/regular-desktop вместо /use/sound. Разом решим проблемы во всех десктопных регулярках без пульсы с нулевым уровнем громкости при перезагрузке системы и невозможностью воспроизвести звук в приложениях, умеющих только pulseaudio, при помощи apulse. Остаётся решить вопрос с firefox. Он не может воспроизводить звук без пульсы, даже с apulse. Так что нужно определиться, каким регуляркам добавить +pulse, а у каких firefox заменить на palemoon. Сейчас +pulse только у KDE. Я предлагаю пульсу добавить в сборки gnome3 и cinnamon. Соответственно у них оставить firefox, у остальных заменить на palemoon. -- С уважением, Антон Мидюков <antohami@altlinux.org> [-- Attachment #2: 0001-Replace-use-sound-feature-at-alsa-for-desktop-re.patch --] [-- Type: text/x-patch, Size: 1165 bytes --] >From 9db8868bccef456860d560396db9e8383c3d77b4 Mon Sep 17 00:00:00 2001 From: Anton Midyukov <antohami@altlinux.org> Date: Sat, 13 Jan 2018 13:09:53 +0700 Subject: [PATCH] Replace /use/sound feature at +alsa for desktop/regular. This will solve the sound problems when using regulars: - The sound when the computer is restarted is set to 0 - Some applications do not know how to work directly with alsa, apulse allows you to solve this problem partially. Using feature +pulse will override use of +alsa feature. --- conf.d/mixin.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.d/mixin.mk b/conf.d/mixin.mk index 40c74da..b5f9589 100644 --- a/conf.d/mixin.mk +++ b/conf.d/mixin.mk @@ -19,7 +19,7 @@ mixin/e2k-desktop: use/e2k/x11 use/e2k/sound use/l10n/default/ru_RU \ ### regular.mk # common WM live/installer bits -mixin/regular-desktop: use/x11/xorg use/sound use/xdg-user-dirs +mixin/regular-desktop: use/x11/xorg +alsa use/xdg-user-dirs @$(call add,THE_PACKAGES,pam-limits-desktop) @$(call add,THE_PACKAGES,installer-feature-desktop-other-fs-stage2) @$(call add,THE_PACKAGES,alterator-notes dvd+rw-tools) -- 2.10.4
next prev parent reply other threads:[~2018-01-13 9:56 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-01-10 15:45 Антон Мидюков 2018-01-10 16:37 ` Michael Shigorin 2018-01-13 9:56 ` Антон Мидюков [this message] 2018-01-16 12:01 ` Michael Shigorin 2018-01-16 12:17 ` Антон Мидюков 2018-01-16 12:34 ` Michael Shigorin
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=833a7abe-77ae-c7de-8fc8-02d3ecfa4028@ya.ru \ --to=midyukov-anton@ya.ru \ --cc=devel-distro@lists.altlinux.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
ALT Linux Distributions development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-distro devel-distro/ http://lore.altlinux.org/devel-distro \ devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com public-inbox-index devel-distro Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-distro AGPL code for this site: git clone https://public-inbox.org/public-inbox.git