From: Nils P. <ni...@ti...> - 2012-04-18 16:37:26
|
On Wed, 2012-04-18 at 17:57 +0200, Philippe Carriere wrote: > Le mercredi 18 avril 2012 à 10:59 +0200, Nils Philippsen a écrit : > > Hi Philippe, > > > > On Sun, 2012-03-25 at 20:46 +0200, Philippe Carriere wrote: > > > > > Important: it is intended that the device configuration has been first > > > initialized (I mean one time) correctly (I mean reset under Windows or > > > Mac OS, using the Focusrite soft). Then, ffado-mixer will do the work > > > forever (most probably, until a new bug would appear ...:(). > > > > do you think it's feasible to add code to clean up mixer LED settings to > > ffado-mixer? If you give me a pointer where to look, I'd take a shot at > > it myself -- my Pro40 has wedged LEDs in 48kHz and the only Windows we > > have in our household is on a small laptop without firewire. > If ffado-mixer (and only ffado-mixer) is under concern, the answer is > no. > What I deduced from my own analysis is that, at the hardware level, > LEDs level reflects the content of the first eight entries of the peak > space (which is part of the EAP memory space); the configuration of > the peak space is directly related to the content of the router space > which, at least for Pro 40 and Pro 24, have to be ordered in a > specific way. Does that mean that EAP specific code could choose one of the routed inputs/outputs, or just of the firewire ins and outs? > ffado-mixer does not directly deal with this flash content and rather > interacts through a kind of abstract interface (so as to be able to > work for many different devices, not specifically for dice eap). As is right to do. > Thus, a kind of "reset to hardware default" will whatever require some > encoding inside the eap driver (dice-eap.cpp). Sure. Which would need to be exposed in an abstract fashion to layers above. The same holds true for the "hooking LED meters to arbitrary ins/outs" crackpot idea of mine, if this can be done. > > As I understand the reports I've read on the list and what I saw, one > > seems to be able to map the LED meters to arbitrary signals on the > > crossbar router. It'd be quite cool if ffado-mixer let users not only > > fix the mapping to the default of the analog inputs, but anything the > > hardware supports. Perhaps supply sane presets like analog/ADAT/Firewire > > inputs and outputs (if the HW supports it). > > > > What do you think? > > > > Nils > As far as I could test, routing any input signal to (some of) the > 1394:01 to 1394:08 destinations (the first eight ones of the left > column in crossbar router of ffado-mixer) leads to have the LEDs > following this signal and not necessarily the analogic ones. Ah so the default would be "display whatever gets sent over firewire on the LED meters". Understood. > What would be useful in the future, since Pro 40 and 24 offer a lot of > different settings, is the possibility of saving different > router/mixer setup (I mean file saving), as fixed by ffado-mixer, for > easier swap (file reading) from one configuration to another one. Yes, I'd really love to be able to save a presets for "jam session with monitoring", "record the whole drum kit" and so forth. I also have some ideas for a bit of a prettier UI, especially the crossbar router is a bit awkward to use... Do you think I should rather make an "experimental" frontend that hooks up on the dbus interface, or try to get it to work in the existing codebase? Nils -- Nils Philippsen / Wilhelmstraße 22 / D-71229 Leonberg ni...@ti... / ni...@re... PGP fingerprint: C4A8 9474 5C4C ADE3 2B8F 656D 47D8 9B65 6951 3011 Ever noticed that common sense isn't really all that common? |