213
submitted 1 year ago by Vincent@kbin.social to c/linux@lemmy.ml

Wayland. It comes up a lot: “Bug X fixed in the Plasma Wayland session.” “The Plasma Wayland session has now gained support for feature Y.” And it’s in the news quite …

you are viewing a single comment's thread
view the rest of the comments
[-] uis@lemmy.world -1 points 1 year ago* (last edited 1 year ago)

nowadays

What? Nowdays? Do you live in 2005?

~~To be fair v4l2 sometimes needs additional processing to allow multiple processes to use same webcam at same time. At least for those applications who use libv4l because I've seen mentions that this is because for some reason libv4l checks that camera is not in use.~~

Reading the fucking manual suggests that V4L2 is totally fine with multiple programs using same webcam without any workarounds, just only one program can set resolution and other stuff.

EDIT: found mentions of dmix in 2004. Will I find mention from 2003 to finish with round number? Also hardware mixing was in ALSA since creation, but it required hardware(thanks, cap).

[-] Ullebe1@lemmy.ml 1 points 1 year ago

I live in a time where I don't need to edit config files by hand to allow using multiple applications with the same audio output, since I use a sound server. If you're willing to do it by hand, then by all means continue. Though it does seem that ALSA has had support for automatically setting up dmix since 2005, after PulseAudio was released.

I also don't know if resampling and the like is automatically handled when using dmix, but perhaps you can tell me that, since it sounds like you have experience with it?

Reading the fucking manual suggests that [..]

How about we keep a good fucking tone. Yes, that's great. However my experience is that programs all want to set those properties without a way to disable it, so in practice it doesn't really matter.

Yeah, as you mention hardware mixing used to be an option, but AFAIK hardware generally hasn't supported that for a long time.

Another reason to use Pipewire is to enable sandboxed access to multimedia devices, for use with things like Flatpak or Snap.

[-] uis@lemmy.world 1 points 1 year ago

I live in a time where I don't need to edit config files by hand to allow using multiple applications with the same audio output

You don't need to. It just works out of box.

after PulseAudio was released.

And after JACK. And PulseAudio development started after JACK was released.

I also don't know if resampling and the like is automatically handled when using dmix, but perhaps you can tell me that, since it sounds like you have experience with it?

Eiher by dmix or by libalsa since I never had issues with samplerate.

How about we keep a good fucking tone.

Not to offend you, just saying that reading manual is one of the best ways to get information.

However my experience is that programs all want to set those properties without a way to disable it, so in practice it doesn't really matter.

For some reason. I don't remember having such issue, but I also don't remember using same webcam in two applications for sure, but I think I used v4l2loopback "webcam" in VLC and chromium at the same time.

Another reason to use Pipewire is to enable sandboxed access to multimedia devices, for use with things like Flatpak or Snap.

Well, /dev/videoX can be forwarded to sandbox. Snap and Flatpak are not designed to be a sandboxes.

Sorry I forgot to reply. Better late than never.

this post was submitted on 18 Sep 2023
213 points (94.2% liked)

Linux

48303 readers
819 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS