All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Schoenebeck <qemu_oss@crudebyte.com>
To: qemu-devel@nongnu.org
Cc: "Gerd Hoffmann" <kraxel@redhat.com>,
	"Geoffrey McRae" <geoff@hostfission.com>,
	"José Pekkarinen" <koalinux@gmail.com>
Subject: Re: [PATCH v2] Autoconnect jack ports by default
Date: Fri, 26 Feb 2021 12:40:26 +0100	[thread overview]
Message-ID: <5436901.4e4U2xeZI5@silver> (raw)
In-Reply-To: <20210225084855.lfyv6ybkcctgulo7@sirius.home.kraxel.org>

On Donnerstag, 25. Februar 2021 09:48:55 CET Gerd Hoffmann wrote:
> On Wed, Feb 24, 2021 at 11:33:14PM +0100, Christian Schoenebeck wrote:
> > On Mittwoch, 24. Februar 2021 23:04:47 CET Geoffrey McRae wrote:
> > > This goes against how all standard jack clients work, a new jack client
> > > should not auto-connect at all unless explicitly configured to as if
> > > there is an existing audio diagram configured (which is 99% of the time)
> > > it will cause unexpected/undesired behavior.
> > > 
> > > Jack is not supposed to be an 'automatic' system, it's the
> > > responsibility of the patch bay software to route connections.
> > > 
> > > The auto-connect feature exists to allow the jack audiodev to re-connect
> > > a broken connection when the jack device restarts/reconnects.
> > 
> > Well, that was also my idea first, and I would agree with you in case of a
> > regular music app of course, but then I thought QEMU is probably not an
> > average JACK client, and it simply lowers the entry level for new users
> > who
> > probably just want to output to system out anyway.
> 
> Well, I guess there is more software like that, any music player for
> example.  I don't think this is a good reason for qemu to have
> non-standard behavior.  If you want qemu autoconnect, you can use the
> connect-ports option.
> 
> Beside that I'd expect the patch bay software is able to remember the
> routing configuration per application, so the setup would be a one-time
> thing you don't have to re-do on every qemu launch.  Not fully sure this
> is actually the case though, I'm not a regular jack user.
> 
> take care,
>   Gerd

Yes, a JACK client with patchbay functionality like QJackCtl stores and 
restores individual connections. You need to start it each time for doing that 
though.

JACK clients with consumer purpose often auto connect to system ports by 
default because their users mostly use JACK just as a consumer desktop sound 
server. And I assume this applies to José as well.

Whereas JACK clients intended for musicians typically don't, because their 
common use case is to pipe audio through several music apps in their personal, 
and very custom way.

Then there are also a bunch of JACK clients with built-in support for some of 
the available session management standards. In this scenario you have another 
app, a session manager, which not only takes care about connections, but also 
actually starts all individual JACK client apps with their respective previous 
internal configurations.

Best regards,
Christian Schoenebeck




  reply	other threads:[~2021-02-26 11:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-24 19:19 [PATCH v2] Autoconnect jack ports by default José Pekkarinen
2021-02-24 19:39 ` Christian Schoenebeck
2021-02-24 22:04   ` Geoffrey McRae
2021-02-24 22:33     ` Christian Schoenebeck
2021-02-24 22:38       ` Geoffrey McRae
2021-02-25  8:31         ` José Ramón Muñoz Pekkarinen
2021-02-25  8:48       ` Gerd Hoffmann
2021-02-26 11:40         ` Christian Schoenebeck [this message]
2021-03-03  7:13           ` Gerd Hoffmann
2021-03-04 11:24             ` Christian Schoenebeck
2021-03-04 11:56               ` Daniel P. Berrangé
2021-03-04 13:12                 ` Gerd Hoffmann
2021-03-04 13:53                   ` Daniel P. Berrangé
2021-03-04 14:12                     ` Gerd Hoffmann

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=5436901.4e4U2xeZI5@silver \
    --to=qemu_oss@crudebyte.com \
    --cc=geoff@hostfission.com \
    --cc=koalinux@gmail.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.