[ardour-dev] [PATCH] MMC/RecordPause implementation (as for Tascam US-224/428)

Rui Nuno Capela rncbc at rncbc.org
Tue Jan 18 01:23:29 PST 2005


Hi,

While using ardour (beta23) with my Tascam US-224 on a MMC closed loop,
I've been missing one single functionality, which the attached patch
addresses.

My US-224 (or others US-428) is being wired up under us428control (from
alsa-tools), which MMC implementation was incidentally written by no one
else but me ;)

In a analogy to ardour's transport record-enable button (which starts
flashing in red), the US-224 transport record button has been sending the
MMC Record-Pause command (8) to its peer. It has been working fine on the
ardour -> us-224/428 direction, but not in the reverse, most due to the
lack o implementation of inbound MMC/RecordPause command in ardour.

This patch comes then to the rescue, by connecting incoming MMC
RecordPause commands to Session::maybe_enable_record(). Simple as that.

Now, when one presses the US-x2y control surface's record button, it will
automagically enable recording on ardour, as graciously as a flashing red
button can be :)

Hope to made it right.

Cheers.
-- 
rncbc aka Rui Nuno Capela
rncbc at rncbc.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ardour-0.9beta23.1-mmc_record_pause.patch
URL: <http://lists.ardour.org/pipermail/ardour-dev-ardour.org/attachments/20050118/8033eaf0/attachment.asc>


More information about the Ardour-Dev mailing list