Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Oss/Alsa/Pulseaudio: never-ending wars (VBox)
Date: Wed, 19 Feb 2020 17:38:15
Message-Id: 319316c1-55d0-0192-6cb7-da272ddfc3a5@web.de
In Reply to: Re: [gentoo-user] Oss/Alsa/Pulseaudio: never-ending wars (VBox) by n952162
1 On 2020-02-19 15:37, n952162 wrote:
2 > On 2020-02-19 10:48, Adam Carter wrote:
3 >> On Wed, Feb 19, 2020 at 8:06 PM <n952162@×××.de
4 >> <mailto:n952162@×××.de>> wrote:
5 >>
6 >> I can't play audio from my VBox.  The host system only plays
7 >> audio through the second sound card (1).  The VBox offers me OSS
8 >> or the null driver.  The Alsa and pulseaudio pages  say OSS is
9 >> "deprecated".   Is Oracle out of the picture?  I can't find the
10 >> straight dope.
11 >>
12 >> Do I have to convince VBox to talk to a different sound card?
13 >>
14 >> Which vbox version and what are your use flags?
15 >>
16 >> FWIW, for me;
17 >> app-emulation/virtualbox-6.1.2::gentoo was built with the following:
18 >> USE="alsa opengl opus pam pulseaudio qt5 sdk udev -debug -doc -dtrace
19 >> -headless -java -libressl -lvm -pax_kernel -python -vboxwebsrv -vnc"
20 >> ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_7
21 >> -python3_8" PYTHON_TARGETS="python2_7 python3_6 -python3_7 -python3_8"
22 >>
23 >> So i can use ALSA or pulse.
24 >
25 >
26 > Okay, that's a good tip.  I'll try those use flags - I have none set.
27 >
28 > I'm at virtualbox-5.2.32, which I just emerged in the last couple of
29 > days, using this profile:
30 >
31 >     [16]  default/linux/amd64/17.1 (stable) *
32 >
33
34 I added alsa and pulseaudio and it didn't help.  Then I noticed that
35 opus has something to do with the soundcard so I emerged that with -vU
36 but nothing needed to be done.
37
38 It seems like VBox is interfacing directly with "the" sound card and
39 even working correctly (e.g. aplay some-file takes about the right
40 amount of time until it ends error-free), but unfortunately, I have 2
41 sound cards and the first doesn't work.
42
43 Perhaps I could map the one to the other soundcard using .asoundrc? 
44 Unfortunately, I can find no grammar for that file.

Replies

Subject Author
Re: [gentoo-user] Oss/Alsa/Pulseaudio: never-ending wars (VBox) Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] Oss/Alsa/Pulseaudio: never-ending wars (VBox) Walter Dnes <waltdnes@××××××××.org>