motu: it seems the ultralite-mk3 does not send any padding at 2x rates.  Thanks to Miguel Negrão for the onging testing.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2299 2be59082-3212-0410-8809-b0798e1608f0
motu: tweak 4x rate output packet for ultralite-mk3 to see if we can get this working.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2300 2be59082-3212-0410-8809-b0798e1608f0
motu: fix typo in r2300

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2301 2be59082-3212-0410-8809-b0798e1608f0
ffado-diag: use REVISIONSTRING when constructing the version number.  This will avoid the trailing hyphen in the event that REVISION is empty (as it will be for a release).

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2302 2be59082-3212-0410-8809-b0798e1608f0
motu: 8pre: on discovery, do a write to the clock control register to ensure the 8pre is toggled out of 'converter' mode and into 'interface' mode after power up.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2303 2be59082-3212-0410-8809-b0798e1608f0
rme: mixer: separate the retrieval of hardware settings into GUI elements from the setup of signals.  This will be needed to support user-requested reading of settings from flash.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2304 2be59082-3212-0410-8809-b0798e1608f0
matrixmixer: provide refreshValues() method so the matrix mixer can be requested to refresh its stage from the hardware.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2305 2be59082-3212-0410-8809-b0798e1608f0
matrixmixer: the 'value is not 0' construct does not appear to prevent execution of the conditional statements when value is numerically equal to 0 (at least not when called from refreshValues()).  Going with '!=0' seems to work though so we'll run with that.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2306 2be59082-3212-0410-8809-b0798e1608f0
rme: implement user-requested 'load mixer from flash' functionality.  When the load button is pressed the FireFace will load the mixer settings from flash; the mixer GUI will then be updated with the resulting mixer state.  All this is tested only on the FF800 to date.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2307 2be59082-3212-0410-8809-b0798e1608f0
rme: use consistent identifiers when mapping from dbus values to internal settings.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2308 2be59082-3212-0410-8809-b0798e1608f0
rme: make the settings flash API consistent with that used by the mixer functions.  This in turn makes it easier to call from the context of the dbus mixer control objects.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2309 2be59082-3212-0410-8809-b0798e1608f0
rme: when first discovering an interface, attempt to obtain device configuration from flash and use this instead of a predefined configuration if successsful.  Separate the treatment of device settings and mixer control values when doing this.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2310 2be59082-3212-0410-8809-b0798e1608f0
rme: implemenet a ffado-mixer button allowing the device configuration to be reloaded from flash.  This action is possible only when the interface is not streaming.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2311 2be59082-3212-0410-8809-b0798e1608f0
rme: since init_hardware() reads the flash settings now there's no need to retain the test call to read_device_flash_settings() in discover().

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2312 2be59082-3212-0410-8809-b0798e1608f0
Add configuration entry for Presonus Firestudio 26x26.  Details from Bob Hamil (http://bobhamil.com/FFADO/index.html) via jaimes on the forum.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2313 2be59082-3212-0410-8809-b0798e1608f0
motu 8pre: padding in the output packet is evidently needed when ADAT is enabled.  Previously (for some reason) it was thought this only applied when the optical port was disabled.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2314 2be59082-3212-0410-8809-b0798e1608f0
motu 8pre: clean up the mixer somewhat.  Hide frames which are empty for this device and therefore are unnecessary.  Analog destinations for mix buses and phones should only include Phones and MainOut.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2315 2be59082-3212-0410-8809-b0798e1608f0
ffado-dbus-server: trap SIGTERM and process as we have been doing for SIGINT.  This means the behaviour of ffado-dbus-server is the same regardless of whether it's killed with Ctrl-C via the keyboard or with the TERM signal (as can happen during system shutdown for example).  Patch from nils in ticket 369.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2316 2be59082-3212-0410-8809-b0798e1608f0
rme: correct a small typo

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2317 2be59082-3212-0410-8809-b0798e1608f0
rme: enable the saving of settings to flash via ffado-mixer.  Common controls (phantom, level settings etc) have been tested on the FF800.  More extensive testing (including with the FF400) will follow.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2318 2be59082-3212-0410-8809-b0798e1608f0