alsa-project / snd-firewire-ctl-services

A set of server programs for audio and music units on IEEE 1394 bus supported by Linux sound subsystem a.k.a. ALSA.
GNU General Public License v3.0
35 stars 5 forks source link

[PATCH 00/11] runtime/fireworks: add model specific implementations #154

Closed takaswie closed 1 year ago

takaswie commented 1 year ago

Current implementation uses single structure to express control model, while it is inconvenient to implement model-dependent controls.

This commit adds implementation of each control model. Each control is programmed with generic structures.

Takashi Sakamoto (11):
  runtime/fireworks: add control model implementation for each model
  runtime/fireworks: implement generic structure for sampling clock
    controls
  runtime/fireworks: implement generic structure for hardware meter
    controls
  runtime/fireworks: implement generic structure for playback and
    monitor controls
  runtime/fireworks: implement generic structure for physical output
    controls
  runtime/fireworks: implement generic structure for physical input
    controls
  runtime/fireworks: implement generic structure for port configuration
    controls
  runtime/fireworks: implement generic structure for robot guitar
    controls
  runtime/fireworks: implement generic structure for IEC 60958 controls
  runtime/fireworks: use new implementation for models
  runtime/fireworks: delete unused implementation of controls

 runtime/fireworks/src/audiofire12_former.rs | 203 +++++++
 runtime/fireworks/src/audiofire12_later.rs  | 198 ++++++
 runtime/fireworks/src/audiofire2.rs         | 224 +++++++
 runtime/fireworks/src/audiofire4.rs         | 237 ++++++++
 runtime/fireworks/src/audiofire8.rs         | 202 +++++++
 runtime/fireworks/src/audiofire9.rs         | 215 +++++++
 runtime/fireworks/src/clk_ctl.rs            | 136 ++---
 runtime/fireworks/src/guitar_ctl.rs         |  97 ++-
 runtime/fireworks/src/iec60958_ctl.rs       | 114 ++--
 runtime/fireworks/src/input_ctl.rs          | 127 ++--
 runtime/fireworks/src/lib.rs                |  67 ++-
 runtime/fireworks/src/meter_ctl.rs          | 229 +++----
 runtime/fireworks/src/mixer_ctl.rs          | 559 ++++++++---------
 runtime/fireworks/src/model.rs              | 319 +++++-----
 runtime/fireworks/src/onyx1200f.rs          | 189 ++++++
 runtime/fireworks/src/onyx400f.rs           | 185 ++++++
 runtime/fireworks/src/output_ctl.rs         | 280 +++++----
 runtime/fireworks/src/port_ctl.rs           | 628 +++++++++-----------
 runtime/fireworks/src/rip.rs                | 176 ++++++
 19 files changed, 3087 insertions(+), 1298 deletions(-)
 create mode 100644 runtime/fireworks/src/audiofire12_former.rs
 create mode 100644 runtime/fireworks/src/audiofire12_later.rs
 create mode 100644 runtime/fireworks/src/audiofire2.rs
 create mode 100644 runtime/fireworks/src/audiofire4.rs
 create mode 100644 runtime/fireworks/src/audiofire8.rs
 create mode 100644 runtime/fireworks/src/audiofire9.rs
 create mode 100644 runtime/fireworks/src/onyx1200f.rs
 create mode 100644 runtime/fireworks/src/onyx400f.rs
 create mode 100644 runtime/fireworks/src/rip.rs
takaswie commented 1 year ago

Merged.