All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jasmin Fazlic <superfassl@gmail.com>
To: alsa-devel@alsa-project.org
Cc: Jasmin Fazlic <superfassl@gmail.com>
Subject: [PATCH 0/2] alsa-tools/hdspmixer: enhance preset save and add hardware ouput loopback buttons
Date: Sun,  7 Feb 2021 15:50:46 +0100	[thread overview]
Message-ID: <20210207145048.14580-1-superfassl@gmail.com> (raw)
In-Reply-To: <2e9bb0b8-ee14-9dc9-1bd8-ecffca3982ac@gmail.com>

The main focus here was to give the user the ability
to toggle the hardware output loopback state available
with following driver patch:
https://github.com/tiwai/sound/commit/da2a040ee7cfe1dd57d5bec7906cb979c5787a86

Since the state is added to the saved preset file at the
end, old versions of this tool can still read the preset
file. Furthermore to not lose this new data should the
user accidentally or willfully save the preset with an
older version of the tool, the save routine was altered
to keep any extra data in a possibly present preset output
file.

Jasmin Fazlic (2):
  alsa-tools/hdspmixer: enhance saving of presets
  alsa-tools/hdspmixer: add output loopback buttons

 hdspmixer/pixmaps/loopback.xpm        |  69 ++++
 hdspmixer/pixmaps/output.xpm          | 498 +++++++++++++++-----------
 hdspmixer/pixmaps/output_r.xpm        | 498 +++++++++++++++-----------
 hdspmixer/src/HDSPMixerCard.cxx       |  34 ++
 hdspmixer/src/HDSPMixerCard.h         |   2 +
 hdspmixer/src/HDSPMixerLoopback.cxx   | 133 +++++++
 hdspmixer/src/HDSPMixerLoopback.h     |  48 +++
 hdspmixer/src/HDSPMixerOutput.cxx     |   1 +
 hdspmixer/src/HDSPMixerOutput.h       |   3 +
 hdspmixer/src/HDSPMixerOutputData.h   |   1 +
 hdspmixer/src/HDSPMixerOutputs.cxx    |   4 +-
 hdspmixer/src/HDSPMixerPresetData.cxx |   1 +
 hdspmixer/src/HDSPMixerPresetData.h   |   1 +
 hdspmixer/src/HDSPMixerPresets.cxx    |   2 +
 hdspmixer/src/HDSPMixerWindow.cxx     | 166 +++++++--
 hdspmixer/src/Makefile.am             |   2 +
 hdspmixer/src/defines.h               |   2 +-
 hdspmixer/src/pixmaps.cxx             |   1 +
 hdspmixer/src/pixmaps.h               |   1 +
 19 files changed, 995 insertions(+), 472 deletions(-)
 create mode 100644 hdspmixer/pixmaps/loopback.xpm
 create mode 100644 hdspmixer/src/HDSPMixerLoopback.cxx
 create mode 100644 hdspmixer/src/HDSPMixerLoopback.h

-- 
2.27.0


  parent reply	other threads:[~2021-02-07 14:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-04 16:17 [PATCH] alsa-tools/hdspmixer: enhance preset save and add hardware ouput loopback buttons fassl
2021-02-07  8:13 ` Takashi Iwai
2021-02-07 14:50 ` Jasmin Fazlic [this message]
2021-02-27  8:27   ` [PATCH 0/2] " Takashi Iwai
2021-02-07 14:50 ` [PATCH 1/2] alsa-tools/hdspmixer: enhance saving of presets Jasmin Fazlic
2021-02-07 14:50 ` [PATCH 2/2] alsa-tools/hdspmixer: add output loopback buttons Jasmin Fazlic

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=20210207145048.14580-1-superfassl@gmail.com \
    --to=superfassl@gmail.com \
    --cc=alsa-devel@alsa-project.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.