Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2019 10:52:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        vbox@FreeBSD.org
Subject:   [Bug 233301] emulators/virtualbox-ose - multimedia issues on 13-current
Message-ID:  <bug-233301-26505-Ye2JLtTroA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233301-26505@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233301-26505@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233301

--- Comment #9 from Steve Wills <swills@FreeBSD.org> ---
I am experiencing this too, so I found this page and turned on the audio
debugging it mentions:

https://www.virtualbox.org/wiki/AudioDebug

and in the logs, everything seems to be working, until it shows this:

00:00:18.694520 Audio: Stream '[OSSAudio] Output' could not be created in
backend because of missing hardware / drivers

which seems to be from line 3110 of src/VBox/Devices/Audio/DrvAudio.cpp. Th=
is
is because VERR_AUDIO_STREAM_COULD_NOT_CREATE is getting returned by
ossStreamOpen in src/VBox/Devices/Audio/DrvHostOSSAudio.cpp, which sets rc =
=3D
VERR_AUDIO_STREAM_COULD_NOT_CREATE at the top. This looks like a logic erro=
r.
Setting rc =3D VINF_SUCCESS at the top of ossStreamOpen allows further prog=
ress.

But still there's no sound, it looks like we're hitting this assert:

    AssertMsgReturn(pCfgAcq->Backend.cfPreBuf <=3D pCfgAcq->Backend.cfBuffe=
rSize,
                    ("Acquired pre-buffering size must be smaller or as big=
 as
the buffer size\n"),
                    VERR_INVALID_PARAMETER);

in src/VBox/Devices/Audio/DrvAudio.cpp. I think there's some sort of buffer=
ing
issue which I don't fully understand. If you play around with the buffer si=
zes
in s_OSSConf in src/VBox/Devices/Audio/DrvHostOSSAudio.cpp you can get soun=
d,
but it's choppy and stops working, reporting lots of buffering issues and
eventually stops. And that's as far as I've gotten right now. Perhaps someo=
ne
else can pick it up and find what's going on or perhaps I'll come back to i=
t at
another time. I'll post the patch for now.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233301-26505-Ye2JLtTroA>