qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Christian Schoenebeck <qemu_oss@crudebyte.com>
To: qemu-devel@nongnu.org
Cc: "Gerd Hoffmann" <kraxel@redhat.com>,
	"Alexandre Ratchov" <alex@caoua.org>, Brad <brad@comstyle.com>,
	"Volker Rümelin" <vr_qemu@t-online.de>
Subject: Re: [PATCH v2] audio: Add sndio backend
Date: Thu, 23 Dec 2021 14:00:24 +0100	[thread overview]
Message-ID: <4387409.znE8pAOnUE@silver> (raw)
In-Reply-To: <2493750.jclyaLVk8g@silver>

On Montag, 20. Dezember 2021 16:41:31 CET Christian Schoenebeck wrote:
> On Freitag, 17. Dezember 2021 10:38:32 CET Alexandre Ratchov wrote:
> > sndio is the native API used by OpenBSD, although it has been ported to
> > other *BSD's and Linux (packages for Ubuntu, Debian, Void, Arch, etc.).
> > 
> > Signed-off-by: Brad Smith <brad@comstyle.com>
> > Signed-off-by: Alexandre Ratchov <alex@caoua.org>
> > ---
> > 
> > Thank you for the reviews and all the comments. Here's a second diff
> > with all the suggested changes:
> > 
> > - Replace ISC license by SPDX-License-Identifier header
> > - Fix units (milli- vs micro-) in comment about SNDIO_LATENCY_US
> > - Drop outdated comment about the "size" argument of
> > sndio_get_buffer_out()
> > - Fix AUDIO_FORMAT_U32 handling (missing "break" statement)
> > - Set {read,write] methods to audio_generic_{read,write} (fixes craches)
> > - Check if backend is enabled in sndio_poll_event()
> > - Use https://sndio.org in description
> > - Mark options as available after 7.0 release (instead of 6.2)
> > - Describe sndio-specific options (dev, latency) in qemu-options.hx
> > - Add myself as reviewer to MAINTAINERS
> > - Style fixes: no space after function names, use 4-space indent
> > - Don't use "return foo()" if foo() returns void
> > - Include backend to audio_drivers_priority[]
> > 
> > Tested on OpenBSD, works as expected!
> > 
> >  MAINTAINERS            |   5 +
> >  audio/audio.c          |   1 +
> >  audio/audio_template.h |   2 +
> >  audio/meson.build      |   1 +
> >  audio/sndioaudio.c     | 555 +++++++++++++++++++++++++++++++++++++++++
> >  meson.build            |   9 +-
> >  meson_options.txt      |   4 +-
> >  qapi/audio.json        |  25 +-
> >  qemu-options.hx        |  16 ++
> >  tests/vm/freebsd       |   3 +
> >  10 files changed, 618 insertions(+), 3 deletions(-)
> >  create mode 100644 audio/sndioaudio.c
> > 
> > diff --git a/MAINTAINERS b/MAINTAINERS
> > index 7543eb4d59..76bdad064f 100644
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -2307,6 +2307,7 @@ X: audio/jackaudio.c
> > 
> >  X: audio/ossaudio.c
> >  X: audio/paaudio.c
> >  X: audio/sdlaudio.c
> > 
> > +X: audio/sndio.c
> > 
> >  X: audio/spiceaudio.c
> >  F: qapi/audio.json
> > 
> > @@ -2349,6 +2350,10 @@ R: Thomas Huth <huth@tuxfamily.org>
> > 
> >  S: Odd Fixes
> >  F: audio/sdlaudio.c
> > 
> > +Sndio Audio backend
> > +R: Alexandre Ratchov <alex@caoua.org>
> > +F: audio/sndio.c
> > +
> 
> Thanks Alexandre for volunteering as reviewer!
> 
> Gerd, would it be OK to set you as maintainer for now until new
> maintainer(s) adopt audio sections? Or should this start with "S: Orphan"
> instead?

Alexandre, if Gerd does not reply in a week or so, then please add "S: Orphan" 
to MAINTAINERS for now to make it clear that there is no maintainer for sndio 
yet to increase the chance for somebody to adopt it.

From Volker's response I assume you will be posting a v3 anyway.

If nobody takes care to queue your patch then let me know. Maybe I can push it 
through my queue this time, provided that there are enough reviews. I also saw 
your patch just by coincidence BTW, so please CC maintainers of affected files 
as suggested by Volker.

Best regards,
Christian Schoenebeck




  reply	other threads:[~2021-12-23 13:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-17  9:38 [PATCH v2] audio: Add sndio backend Alexandre Ratchov
2021-12-18 15:16 ` Volker Rümelin
2021-12-19 21:07 ` Volker Rümelin
2022-01-16  4:32   ` Brad Smith
2021-12-20 15:41 ` Christian Schoenebeck
2021-12-23 13:00   ` Christian Schoenebeck [this message]
2022-01-13  9:57   ` Gerd Hoffmann
2021-12-23 15:10 ` WANG Xuerui

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=4387409.znE8pAOnUE@silver \
    --to=qemu_oss@crudebyte.com \
    --cc=alex@caoua.org \
    --cc=brad@comstyle.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=vr_qemu@t-online.de \
    /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).