Page MenuHomeFreeBSD

multimediaUmbrella
ActivePublic

Recent Activity

Today

christos closed D55605: sound: enforce MASTER volume mute during playback.
Thu, Mar 12, 6:23 PM · multimedia

Yesterday

christos added inline comments to D55605: sound: enforce MASTER volume mute during playback.
Wed, Mar 11, 5:24 PM · multimedia

Tue, Mar 10

scf added a comment to D55605: sound: enforce MASTER volume mute during playback.

Sorry about that. I was on a branch off of main, but it was a bit stale.

Tue, Mar 10, 3:46 PM · multimedia
scf updated the diff for D55605: sound: enforce MASTER volume mute during playback.
  • Rebase against latest main.
  • Make more use of defined variable.
Tue, Mar 10, 3:45 PM · multimedia
christos added a comment to D55605: sound: enforce MASTER volume mute during playback.

This is not diff'd against main. Also please address the other inline comment.

Tue, Mar 10, 3:34 PM · multimedia
scf updated the diff for D55605: sound: enforce MASTER volume mute during playback.

Switched to using bool for the type instead of uint8_t.

Tue, Mar 10, 3:33 PM · multimedia

Fri, Mar 6

scf added inline comments to D55605: sound: enforce MASTER volume mute during playback.
Fri, Mar 6, 3:42 PM · multimedia
christos added inline comments to D55605: sound: enforce MASTER volume mute during playback.
Fri, Mar 6, 12:23 PM · multimedia

Thu, Mar 5

scf updated the diff for D55605: sound: enforce MASTER volume mute during playback.

Hopefully, fixed.

  • Remove unneeded != 0 expression.
  • Use proper full context diff. Do *not* let --no-prefix anywhere near the diff. :)
Thu, Mar 5, 4:59 PM · multimedia
christos added a comment to D55605: sound: enforce MASTER volume mute during playback.
In D55605#1274023, @scf wrote:

Something is messed up with the file paths here. (dev/sound instead of sys/dev/sound).

I am not sure what happened. The diff starts with:

diff --git sys/dev/sound/pcm/feeder_volume.c sys/dev/sound/pcm/feeder_volume.c
index fc4ed1bbb0a5..c1a33dcdd8a3 100644
--- sys/dev/sound/pcm/feeder_volume.c
+++ sys/dev/sound/pcm/feeder_volume.c
@@ -1,350 +1,360 @@
 /*-
  * SPDX-License-Identifier: BSD-2-Clause

I have not used git-arc, but it looks like I need to try it.

Thu, Mar 5, 4:16 PM · multimedia
scf added a comment to D55605: sound: enforce MASTER volume mute during playback.

Something is messed up with the file paths here. (dev/sound instead of sys/dev/sound).

Thu, Mar 5, 4:12 PM · multimedia
christos added a comment to D55605: sound: enforce MASTER volume mute during playback.

Something is messed up with the file paths here. (dev/sound instead of sys/dev/sound).

Thu, Mar 5, 2:47 PM · multimedia
scf updated the diff for D55605: sound: enforce MASTER volume mute during playback.

Updated diff with full context.

Thu, Mar 5, 2:42 AM · multimedia

Wed, Mar 4

christos added a comment to D55605: sound: enforce MASTER volume mute during playback.

Can you please generate the diff with full context or upload it with git-arc?

Wed, Mar 4, 2:30 PM · multimedia

Sun, Mar 1

scf requested review of D55605: sound: enforce MASTER volume mute during playback.
Sun, Mar 1, 4:12 PM · multimedia

Oct 6 2024

arrowd closed D46962: ports/webcamd: improve pkg-message.
Oct 6 2024, 11:12 AM · multimedia
arrowd accepted D46962: ports/webcamd: improve pkg-message.
Oct 6 2024, 11:08 AM · multimedia

Oct 5 2024

ziaee updated the diff for D46962: ports/webcamd: improve pkg-message.
Oct 5 2024, 6:33 PM · multimedia
ziaee updated the summary of D46962: ports/webcamd: improve pkg-message.
Oct 5 2024, 6:11 PM · multimedia
ziaee updated the diff for D46962: ports/webcamd: improve pkg-message.

Oops, fix typo

Oct 5 2024, 4:09 PM · multimedia
ziaee requested review of D46962: ports/webcamd: improve pkg-message.
Oct 5 2024, 4:05 PM · multimedia

May 11 2024

diizzy closed D45071: multimedia/vlc: fix build with FREERDP option ON: incompatible function pointer types.
May 11 2024, 11:39 AM · multimedia

May 10 2024

vvd added a comment to D45071: multimedia/vlc: fix build with FREERDP option ON: incompatible function pointer types.
In D45071#1029790, @vvd wrote:

libabsl*.so:devel/abseil from libprotobuf-lite.so:devel/protobuf from option CHROMECAST.

CHROMECAST_LIB_DEPENDS+=libabsl_base.so:devel/abseil

May 10 2024, 10:35 AM · multimedia
vvd added a comment to D45071: multimedia/vlc: fix build with FREERDP option ON: incompatible function pointer types.

libsrt.so:www/srt and libaribb24.so:multimedia/aribb24: --disable-srt --disable-aribsub --disable-aribb25.
libabsl*.so:devel/abseil from libprotobuf-lite.so:devel/protobuf from option CHROMECAST.

May 10 2024, 10:29 AM · multimedia
vvd added a comment to D45071: multimedia/vlc: fix build with FREERDP option ON: incompatible function pointer types.

Or we can patch modules/access/rdp.c:

diff -ur multimedia/vlc/files/patch-modules_access_rdp.c.orig multimedia/vlc/files/patch-modules_access_rdp.c
--- multimedia/vlc/files/patch-modules_access_rdp.c.orig
+++ multimedia/vlc/files/patch-modules_access_rdp.c
@@ -1,4 +1,4 @@
---- modules/access/rdp.c.orig  2016-07-22 12:10:45 UTC
+--- modules/access/rdp.c.orig  2023-02-11 09:33:17 UTC
 +++ modules/access/rdp.c
 @@ -45,18 +45,6 @@
  # include <freerdp/version.h>
@@ -19,7 +19,13 @@
  #include <errno.h>
  #ifdef HAVE_POLL
  # include <poll.h>
-@@ -140,6 +128,7 @@ static void desktopResizeHandler( rdpCon
+@@ -139,11 +127,12 @@ typedef struct vlcrdp_context_t vlcrdp_context_t;
+
+ /* updates handlers */
+
+-static void desktopResizeHandler( rdpContext *p_context )
++static int desktopResizeHandler( rdpContext *p_context )
+ {
      vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_context;
      demux_sys_t *p_sys = p_vlccontext->p_demux->p_sys;
      rdpGdi *p_gdi = p_context->gdi;
@@ -27,7 +33,7 @@
May 10 2024, 10:23 AM · multimedia

May 3 2024

vvd requested review of D45071: multimedia/vlc: fix build with FREERDP option ON: incompatible function pointer types.
May 3 2024, 12:25 AM · multimedia

Apr 24 2024

vvd closed D44909: audio/audacity: update to 3.5.0.
Apr 24 2024, 12:24 AM · multimedia
vvd updated the diff for D44909: audio/audacity: update to 3.5.0.

Upstream committed our patches to 3.5.1 branch - replaced audio/audacity/files/patch-* with patch from this commit.

Apr 24 2024, 12:00 AM · multimedia

Apr 23 2024

vvd updated the diff for D44909: audio/audacity: update to 3.5.0.

Removed unused LIB_DEPENDS:

Warning: you might not need LIB_DEPENDS on libasound.so
Warning: you might not need LIB_DEPENDS on libcurl.so
Warning: you might not need LIB_DEPENDS on libopenjp2.so
Warning: you might not need LIB_DEPENDS on libpng.so
Warning: you might not need LIB_DEPENDS on libturbojpeg.so

And pet portclippy.

Apr 23 2024, 9:50 AM · multimedia
arrowd added a comment to D44909: audio/audacity: update to 3.5.0.

The change looks fine but remember that maintainer timeouts don't work on Phab. You need to create a bugzilla PR for this.

Apr 23 2024, 7:30 AM · multimedia

Apr 22 2024

vvd updated the summary of D44909: audio/audacity: update to 3.5.0.
Apr 22 2024, 10:48 PM · multimedia
vvd requested review of D44909: audio/audacity: update to 3.5.0.
Apr 22 2024, 10:38 PM · multimedia

Mar 26 2024

rozhuk.im-gmail.com abandoned D11140: OSS: allow unplug sound cards without apps close devices.
Mar 26 2024, 6:27 AM · Contributor Reviews (src), multimedia
christos added a comment to D11140: OSS: allow unplug sound cards without apps close devices.

D43545 takes care of this change. Should we close this?

Mar 26 2024, 5:49 AM · Contributor Reviews (src), multimedia

Feb 12 2024

christos closed D41942: snd_uaudio(4): Adapt buffer length to buffer_ms tunable..
Feb 12 2024, 11:08 AM · multimedia

Jan 30 2024

dev_submerge.ch added a comment to D41942: snd_uaudio(4): Adapt buffer length to buffer_ms tunable..

Interesting. I just tested, and if I boot my machine while interface is on, kld_list and buffer_ms together do the trick. I mean, jack_iodelay reports exactly same latency as if I loaded the module, set buffer_ms and then turned on the interface. Maybe my interface is slow to respond initially, so sysctl has time to kick in?

Jan 30 2024, 3:11 AM · multimedia

Jan 29 2024

christos added a comment to D41942: snd_uaudio(4): Adapt buffer length to buffer_ms tunable..

@christos: Thanks! Since @mav didn't participate here, would someone else be so kind to commit this? Unless there's other issues that weren't brought up yet.

I will commit it.

@meka_tilda.center Sorry about the extra work, I somehow thought you would know that. The handling of buffer_ms didn't change in this regard. My approach was to communicate it simply as a /boot/loader.conf tunable. IMHO that's more digestible by end users, less error prone. Tell them to (re-)attach the device only after buffer_ms is set would probably also work. But kld_list+=snd_uaudio and /etc/sysctl.conf come too late, due to snd_uaudio being automatically loaded early in the boot process. You'd have to explicitly kldunload snd_uaudio at that point to make the devices reattach.

I agree with @meka_tilda.center on this. We should have a man page entry for this as it's not really obvious.

Jan 29 2024, 3:56 PM · multimedia
christos added a comment to D41942: snd_uaudio(4): Adapt buffer length to buffer_ms tunable..

@christos: Thanks! Since @mav didn't participate here, would someone else be so kind to commit this? Unless there's other issues that weren't brought up yet.

Jan 29 2024, 1:24 PM · multimedia
meka_tilda.center added a comment to D41942: snd_uaudio(4): Adapt buffer length to buffer_ms tunable..

Interesting. I just tested, and if I boot my machine while interface is on, kld_list and buffer_ms together do the trick. I mean, jack_iodelay reports exactly same latency as if I loaded the module, set buffer_ms and then turned on the interface. Maybe my interface is slow to respond initially, so sysctl has time to kick in? Anyway, if I were to do it differently, what should I do? Load module and set buffer_ms in loader.conf?

Jan 29 2024, 12:05 PM · multimedia

Jan 28 2024

dev_submerge.ch added a comment to D41942: snd_uaudio(4): Adapt buffer length to buffer_ms tunable..

@christos: Thanks! Since @mav didn't participate here, would someone else be so kind to commit this? Unless there's other issues that weren't brought up yet.

Jan 28 2024, 3:51 PM · multimedia
christos accepted D41942: snd_uaudio(4): Adapt buffer length to buffer_ms tunable..

That's a great improvement. LGTM.

Jan 28 2024, 2:51 PM · multimedia
meka_tilda.center added a comment to D41942: snd_uaudio(4): Adapt buffer length to buffer_ms tunable..

A misunderstanding. I though you wanted me to make sure there are no reconnects. Anyway, loading the driver first, then setting buffer_ms and then turning on the interface yields the following results

period = 192
buffer_ms = 1
  690.921 frames     14.394 ms total roundtrip latency
	extra loopback latency: 306 frames
	use 153 for the backend arguments -I and -O

Now this is a great improvement! Can we document it somewhere? Suggesting, for example, to put kld_list+=snd_uaudio and then set buffer_ms as any other sysctl? In my oppinion, if we spent so much time figuring out how to properly do the measurement, I'm sure other people will need help with their setup, too, so why not make it easier for them and put this into snd_uaudio(4).

Jan 28 2024, 3:38 AM · multimedia

Jan 27 2024

dev_submerge.ch added a comment to D41942: snd_uaudio(4): Adapt buffer length to buffer_ms tunable..

I didn't answer about re-plugging. No, the interface is always connected and I don't touch the cables.

Jan 27 2024, 2:02 PM · multimedia
meka_tilda.center added a comment to D41942: snd_uaudio(4): Adapt buffer length to buffer_ms tunable..

I didn't answer about re-plugging. No, the interface is always connected and I don't touch the cables.

Jan 27 2024, 12:23 PM · multimedia
meka_tilda.center added a comment to D41942: snd_uaudio(4): Adapt buffer length to buffer_ms tunable..

I see what you mean. I tested with buffer_ms of 1 and 8 and I get almost exact numbers:

period = 192
Jan 27 2024, 12:19 PM · multimedia

Jan 22 2024

vvd closed D41048: audio/mumble-server: update to 1.5.517.
Jan 22 2024, 7:07 PM · multimedia
arrowd accepted D41048: audio/mumble-server: update to 1.5.517.
Jan 22 2024, 7:02 PM · multimedia
dev_submerge.ch added a comment to D41942: snd_uaudio(4): Adapt buffer length to buffer_ms tunable..

Meka, according to USB descriptor your audio interface is fine with 1ms intervals (bInterval = 0x0004). So that's not the problem. And the latency doesn't even change without this patch, we know that worked before. Did you replug the device after you changed the buffer_ms sysctl? New buffer_ms values may not become effective immediately, depending on your settings.

Jan 22 2024, 4:38 PM · multimedia
vvd added a comment to D41048: audio/mumble-server: update to 1.5.517.

If you want to test it - get current patch.
If you want to see diff with old murmur - check history patch here: https://reviews.freebsd.org/D41048?id=133095

Jan 22 2024, 1:34 PM · multimedia
vvd updated the diff for D41048: audio/mumble-server: update to 1.5.517.

Trying to update diff using arcanist.

Jan 22 2024, 1:25 PM · multimedia