Description:
In r1051 jack_engine_munge_backend_port_names() is being called during
startup. ALSA raw midi backend does port discovery in dynamic way and
thus midi ports appear after call to
jack_engine_munge_backend_port_names() and thus are not munged.
This patch contains:
* munge during port registration not during startup. It is done only
for internal clients. MIDI ports are midi_capture_N and
midi_playback_N in order to not interfere with audio port names.
* ALSA backend name is changed from "alsa_pcm" to "ALSA"
* engine->driver is initialized before call to driver attach() method
to make munge during port registration work during startup.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1071 0c269be4-1314-0410-8aa9-9f06e86f4224