9front - general discussion about 9front
 help / color / mirror / Atom feed
From: qwx@sciops.net
To: 9front@9front.org
Subject: Re: [9front] [PATCH] Fix nusb/audio /dev entries
Date: Wed, 20 Dec 2023 19:11:11 +0100	[thread overview]
Message-ID: <77F762E6EF1CE68610028FD1F7EA85F4@wopr.sciops.net> (raw)
In-Reply-To: <ZYMpoGnV_4vvV8la@wopr>

On Wed Dec 20 18:51:48 +0100 2023, khm@sciops.net wrote:
> On Wed, Dec 20, 2023 at 06:47:57PM +0100, qwx@sciops.net wrote:
> > Well that's the thing, it's the intended behavior.  Should we
> > implement a new aaa(1) or just reorder the binds?  Dunno.  In
> > my case there are advantages on both sides.
> 
> If there's a valid, configured audio device connected, writing to
> /dev/audio shouldn't fail.  If the system is doing something which
> causes that, then I'd call it a bug.  I understand it's not as simple as
> this description, but we should at least have the cases where it happens
> identified so we can put them in the faq or a wiki or something. 
> 
> khm

To me, that's equivalent to not relying on the previous behavior and
having a watcher program, or maybe a change in mixfs as suggested on
#cat-v, to switch audio devices as specified by the user rather than
automatically.  Whether or not a program reopens /dev/audio when the
device disconnects or the driver crashes, but there is another audio
file, why should it now always be routed to this arbitrary one?  For
instance, you cannot yet control volume on usb audio cards which
currently just play at full blast, I've had accidents with that
(that one is a bug).  The point I'm trying to make is that the
previous behavior would hinder usage escaping the one typical case,
whereas a more manual approach would not, I hope that makes sense.

qwx

  reply	other threads:[~2023-12-20 18:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20 11:23 Arne Meyer
2023-12-20 16:44 ` qwx
2023-12-20 17:19   ` Kurt H Maier
2023-12-20 17:47     ` qwx
2023-12-20 17:51       ` Kurt H Maier
2023-12-20 18:11         ` qwx [this message]
2023-12-20 18:53   ` Arne Meyer
2023-12-20 23:10     ` qwx
2023-12-21  2:47     ` Sigrid Solveig Haflínudóttir
2023-12-21  7:53       ` hiro
2023-12-21 20:12         ` Arne Meyer
2023-12-21 20:48           ` hiro

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=77F762E6EF1CE68610028FD1F7EA85F4@wopr.sciops.net \
    --to=qwx@sciops.net \
    --cc=9front@9front.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).