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 0/9] runtime/tascam: use generic structure for controls #157

Closed takaswie closed 1 year ago

takaswie commented 1 year ago

Current implementation of runtime crate uses the combination of structure and trait implementation. It is necessarily useful since it can be rewritten by generic structure with phantom data. This patchset reworks for the controls.

Takashi Sakamoto (9):
  protocols/tascam: code cleanup by standard format
  runtime/tascam: add generic structure of controls for sampling and
    media clocks
  runtime/tascam: add generic structure of controls for input signal
    detection
  runtime/tascam: add generic structure of controls for coaxial output
  runtime/tascam: add generic structure of controls for optical
    interfaces
  runtime/tascam: add generic structure of controls for rack inputs
  runtime/tascam: code refactoring for controls specific to FW-1884
  runtime/tascam: add generic structure of controls for hardware
    metering
  runtime/tascam: add generic structure of controls for console surface

 protocols/tascam/src/asynch.rs                |  67 +-
 .../tascam/src/bin/tascam-hardware-info.rs    |   2 +-
 protocols/tascam/src/isoch.rs                 |  75 +-
 runtime/tascam/src/fw1082_model.rs            | 151 ++-
 runtime/tascam/src/fw1804_model.rs            | 200 ++--
 runtime/tascam/src/fw1884_model.rs            | 263 ++----
 runtime/tascam/src/isoch_ctls.rs              | 879 +++++++++++-------
 runtime/tascam/src/lib.rs                     |   2 +-
 8 files changed, 907 insertions(+), 732 deletions(-)
takaswie commented 1 year ago

Merged.