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/17] digi00x: support debug logging by tracing crate #156

Closed takaswie closed 1 year ago

takaswie commented 1 year ago

The main purpose of the patchset is to support debug logging by tracing crate in runtime crate as the other service programs support, while protocols crate is reworked for unified way to cache and update parameters.

Takashi Sakamoto (17):
  protocols/digi00x: add intermediate expression for parameters
  protocols/digi00x: add a trait to express hardware specification
  protocols/digi00x: add a trait for hardware operation
  protocols/digi00x: implement trait to cache and update source of
    sampling clock
  protocols/digi00x: implement trait to cache and update rate of media
    clock
  protocols/digi00x: implement trait to cache and update mode of optical
    interface
  protocols/digi00x: implement trait to detect source of external
    sampling clock
  protocols/digi00x: implement trait to cache and update monitor
    parameters
  runtime/digi00x: implement generic structure for common controls
  runtime/digi00x: implement structure for optical interface controls
  runtime/digi00x: implement generic structure for meter controls
  runtime/digi00x: implement generic structure for monitor controls
  runtime/digi00x: use generic structure controls for models
  protocols/digi00x: delete unused implementations
  runtime/digi00x: use tracing-subscriber crate to dump debug logs
  runtime/digi00x: add tracing span and event to runtime structure
  runtime/digi00x: add tracing events for controls

 README.rst                                    |   3 +-
 protocols/digi00x/src/lib.rs                  | 405 +++++----
 runtime/digi00x/Cargo.toml                    |   2 +
 .../bin/snd-firewire-digi00x-ctl-service.rs   |   6 +-
 runtime/digi00x/src/lib.rs                    |  52 +-
 runtime/digi00x/src/model.rs                  | 776 ++++++++++--------
 6 files changed, 720 insertions(+), 524 deletions(-)
takaswie commented 1 year ago

Merged.