motu: the original 828 does not have MIDI I/O, so don't create MIDI ports for it...
commit9933f012a81646494298b64ffce17fbc18b3f866
authorjwoithe <jwoithe@2be59082-3212-0410-8809-b0798e1608f0>
Tue, 23 Jul 2013 11:57:52 +0000 (23 11:57 +0000)
committerjwoithe <jwoithe@2be59082-3212-0410-8809-b0798e1608f0>
Tue, 23 Jul 2013 11:57:52 +0000 (23 11:57 +0000)
tree254e5523c70601fdedee69e5d8ea4c8c76e50349
parent8b5b776b19fb4610f9dfcde31ee6ded43ec7abb2
motu: the original 828 does not have MIDI I/O, so don't create MIDI ports for it.  This allows audio to be passed to analog-1 on playback since the respective bytes in the packet are no longer being zeroed by encodeSilencePortToMotuMidiEvents() in the case where the MIDI ports were not in use.  Previously, with disabled (unused) MIDI ports processWriteBlock() would call encodeSilencePortToMotuMidiEvents() via encodeSilencePortToMotuEvents().  There is still no audio output in general though: this patch just fixes an anomally noticed in the packets while searching for a reason behind the missing audio output.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2353 2be59082-3212-0410-8809-b0798e1608f0
libffado/src/libstreaming/motu/MotuTransmitStreamProcessor.cpp
libffado/src/motu/motu_avdevice.cpp