On Wed, Apr 06, 2016 at 01:38:23PM +0100, [email protected] wrote: > Hi, > > I suspect you want to have a size argument to your midisend() function. > At the moment you'll always pass sizeof(u_char *) bytes to mio_write(). > > https://github.com/henriqueleng/svmidi/blob/master/sndio.c#L21 > > HTH, > Rob > > On Tue, 5 Apr 2016, Henrique N. Lengler wrote: > > >Hey, > > > >In my vacation I programmed a simple virtual midi keyboard, > >as a alternative to programs like VMPK, wich only supports > >ALSA, and depends on GTK; > >My free time ended, and there is still a few features to be > >implemented and bugs to be corrected in the software, but it > >is doing well. > > > >The biggest missing feature is ALSA support, which I can't do > >since I have no linux box, but might be extremely simple task. > >Once the support is added, the software can be quite useful, in > >such a small piece of code. > > > >I know it is not good to share incomplete work, but I'm just > >doing it to let people know that there is work done in some area, > >avoiding duplicated work. > > > >The code is here: > >https://github.com/henriqueleng/svmidi > > > >But please, Don't expect too much from it, it is very simple and > >like this it should be.
Yeah, that was a problem. I pushed a change. Thank you! -- Regards, Henrique N. Lengler
