Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement Request: Configure clock source & sample rate M-Audio ProFire 2626 #73

Open
VennStone opened this issue Nov 10, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@VennStone
Copy link

Do you think it would be possible to work out a way to save settings to the Profire 2626? I've always wanted to use it as a standalone converter.

The option was always greyed out in ffado-mixer.
Screenshot_2021-11-09_21-44-39

Being able to set the clock source and sample rate would be most welcome.

@takaswie
Copy link
Member

takaswie commented Nov 10, 2021

For the request to store configurations for standalone mode, I say that it would be possible
since related protocols are cleared and already implemented. However, I still have issue blocker.

The configuration of source and frequency of sampling clock for standalone mode is done
by protocol extension defined by TCAT. You can see implementation under
libs/dice/protocols/src/tcat/extension/standalone_section.rs:

You can also see implementation for below options specific to ProFire 2626 under
libs/dice/protocols/src/maudio.rs:

  • assignment of main knob
  • mode of optical interface B
  • mode of converter

You can see below ALSA control elements when executing the program:

  • standalone-clock-source
  • standalone-spdif-high-rate
  • standalone-adat-mode
  • standalone-word-clock-mode
  • standalone-word-clock-rate-numerator
  • standalone-word-clock-rate-denominator
  • standalone-internal-clock-rate
  • master-knob-target
  • optical-iface-b-mode
  • standalone-converter-mode

The above configurations can be stored to on-board flash memory by the TCAT protocol extension. You can
see implementation about it under
libs/dice/protocols/src/tcat/extension/cmd_section.rs.

The issue blocker is the way for userspace applications to perform the store protocol. In the design of
ALSA control core, boolean type of control element just performs like toggle button, while stateless push
button is required just to trigger the store operation. In the reason, at present, it's impossible to keep the
configuration done via the control elements for next boot yet.

Thanks

@takaswie takaswie self-assigned this Nov 10, 2021
@takaswie takaswie added the enhancement New feature or request label Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants