snd-firewire-ctl-services icon indicating copy to clipboard operation
snd-firewire-ctl-services copied to clipboard

Internal routing for dice devices?

Open rusk911 opened this issue 3 months ago • 2 comments

Does it implement internal routing control for dice devices? I'm trying to deal with ffado-mixer, which seems to be far outdated and messy. Probably better to write some more modern app for the purpose. But I can't find anything about ffado's crossbar router functionality here.

rusk911 avatar Aug 20 '25 09:08 rusk911

Does it implement internal routing control for dice devices?

Yes.

Your M-Audio Profire 2626 has internal routings depicted in the following diagram: https://docs.rs/firewire-dice-protocols/0.3.1/firewire_dice_protocols/maudio/index.html

When running snd-dice-ctl-service program, you can see the following controls in sound card instance of ALSA character devices:

  • output-source
  • stream-source
  • mixer-source

However, there is few instructions and documents about how to use the program, since the program itself is a reference implementation (The center of my interest is the protocol itself). You should find the way by your own.

takaswie avatar Aug 20 '25 23:08 takaswie

Hi @takaswie @rusk911,

We meet again @rusk911 :D

Since snd-dice-ctl-service works now for my hardware. But I am still trying to make sense of:

  • output-source

  • stream-source

  • mixer-source

There is lots of ALSA docs on dmix, merging channels in software etc. But not so much about internal/hardware mixing. And yes I did really look. About definition of implementation of mentioned abstraction things here. What is stream for ALSA? What is mixer-source?

In ideal Linux world (that doen;t exists) sources names would have names specific for DICE hardware instead output-source and just number 1/2/3/4/5/6/7/8 etc. Would be great if: https://github.com/alsa-project/snd-firewire-ctl-services/blob/master/runtime/dice/src/tcd22xx_ctl.rs#L1339-1348 could be name "|| OR" device specific name if specified. Like Analog input 1, Headphones mix, Main mix, Alt mix. And so on.

After all its software for audio interfaces. So I had this idea about improving UX a bit. Not even dreaming about GUI at this point of time. But if properly named that would be enough to not even wonder when using alsamixer or qasmixer. Just straight forwards names.

AreYouLoco avatar Oct 22 '25 17:10 AreYouLoco