Can anyone build the unix midi plugin with ALSA?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Can anyone build the unix midi plugin with ALSA?

timrowledge

It seems to not be possible to build the MIDI plugin on unix when ALSA support is wanted. The sqUnixMIDI.c file tries to use ‘USE_MIDI_ALSA’ to decide whether to include null code or actual ALSA calling code - that seems to fail.

If we manually fudge it to force use of sqUnixMIDIALSA.inc then we fall foul of ‘debugf’ not being defined and the best I could do there was replace with ‘DPRINTF’. Which implies to me that it is a long time since anyone even made a working midi unix plugin.

Anyone got any ideas?

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Always try to be modest. And be damn proud of it!


Reply | Threaded
Open this post in threaded view
|

re: Can anyone build the unix midi plugin with ALSA?

ccrraaiigg
 

> It seems to not be possible to build the MIDI plugin on unix when
> ALSA support is wanted. The sqUnixMIDI.c file tries to use
> ‘USE_MIDI_ALSA’ to decide whether to include null code or actual ALSA
> calling code - that seems to fail.
>
> If we manually fudge it to force use of sqUnixMIDIALSA.inc then we
> fall foul of ‘debugf’ not being defined and the best I could do there
> was replace with ‘DPRINTF’. Which implies to me that it is a long
> time since anyone even made a working midi unix plugin.

     Well, at least a long time since anyone did it without those
workarounds. :)  As we've seen, the plugin does seem to work once you do
those things.

> Anyone got any ideas?

     Ian?


-C

--
Craig Latta
netjam.org
+31   6 2757 7177 (SMS ok)
+ 1 415  287 3547 (no SMS)