Re: [LAD] "enhanced event port" LV2 extension proposal

2007-12-09 Thread Krzysztof Foltman
Dave Robillard wrote: > Is this what we have for the event/buffer header, then? > http://svn.drobilla.net/lad/lv2/extensions/events/lv2_events.h > char data? why not char data[0]? Krzysztof ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linu

Re: [LAD] "enhanced event port" LV2 extension proposal

2007-12-09 Thread Nedko Arnaudov
Krzysztof Foltman <[EMAIL PROTECTED]> writes: > Dave Robillard wrote: >> Is this what we have for the event/buffer header, then? >> http://svn.drobilla.net/lad/lv2/extensions/events/lv2_events.h >> > char data? why not char data[0]? just header please -- Nedko Arnaudov pgpV4XRXS0CZd.pgp

Re: [LAD] "enhanced event port" LV2 extension proposal

2007-12-09 Thread Dave Robillard
On Sun, 2007-12-09 at 15:06 +, Krzysztof Foltman wrote: > Dave Robillard wrote: > > Is this what we have for the event/buffer header, then? > > http://svn.drobilla.net/lad/lv2/extensions/events/lv2_events.h > > > char data? why not char data[0]? Not standard C AFAIK. -DR- __

Re: [LAD] "enhanced event port" LV2 extension proposal

2007-12-09 Thread Dave Robillard
On Sun, 2007-12-09 at 18:08 +0200, Nedko Arnaudov wrote: > Krzysztof Foltman <[EMAIL PROTECTED]> writes: > > > Dave Robillard wrote: > >> Is this what we have for the event/buffer header, then? > >> http://svn.drobilla.net/lad/lv2/extensions/events/lv2_events.h > >> > > char data? why not char

Re: [LAD] "enhanced event port" LV2 extension proposal

2007-12-09 Thread Dave Robillard
On Sun, 2007-12-09 at 11:52 -0500, Dave Robillard wrote: > On Sun, 2007-12-09 at 15:06 +, Krzysztof Foltman wrote: > > Dave Robillard wrote: > > > Is this what we have for the event/buffer header, then? > > > http://svn.drobilla.net/lad/lv2/extensions/events/lv2_events.h > > > > > char dat

Re: [LAD] "enhanced event port" LV2 extension proposal

2007-12-09 Thread Krzysztof Foltman
Dave Robillard wrote: > How would you access the data in code? (it'd be ugly/annoying) > Control byte of MIDI - data[0] First argument of MIDI - data[1] Second argument of MIDI - data[2] With non-MIDI, you'd cast data to some other structure anyway, so there's no difference (apart from being able

[LAD] How to save and restore MIDI connexion (ALSA sequencer)

2007-12-09 Thread Stéphane Brunner
Hello ! In my application (LiveMix - http://livemix.codingteam.net/) I just implement the MIDI support. To initialize the MIDI I do : snd_seq_open(&seq, "default", SND_SEQ_OPEN_DUPLEX, 0); snd_seq_set_client_name(seq, "LiveMix"); m_iPort = snd_seq_create_simple_port(seq, "control", 0, SND_SEQ_PORT

[LAD] [PATCH] jack dbus and logs improvement

2007-12-09 Thread Nedko Arnaudov
currently exported it also requires midi-alsa-munge patch, but this is not real requirement. So patch apply order is (against latest svn, tested with r1070): * jackd-midi-alsa-munge-r1051.patch (p0) * jack-logs-20071209-r1070.patch (p1) * jack-dbus-20071209-r1070.patch (p1) What is not implemented yet

Re: [LAD] "enhanced event port" LV2 extension proposal

2007-12-09 Thread Lars Luthman
On Sun, 2007-12-09 at 11:58 -0500, Dave Robillard wrote: > On Sun, 2007-12-09 at 11:52 -0500, Dave Robillard wrote: > > On Sun, 2007-12-09 at 15:06 +, Krzysztof Foltman wrote: > > > Dave Robillard wrote: > > > > Is this what we have for the event/buffer header, then? > > > > http://svn.drobilla

Re: [LAD] [PATCH] jack dbus and logs improvement

2007-12-09 Thread Marc-Olivier Barre
jackd-midi-alsa-munge-r1051.patch (p0) > * jack-logs-20071209-r1070.patch (p1) > * jack-dbus-20071209-r1070.patch (p1) And here comes the ebuild for those adventurous gentoo users out there who want to try this baby out ! :-) Right now it does not respect dependencies though, use with cautio

Re: [LAD] "enhanced event port" LV2 extension proposal

2007-12-09 Thread Dave Robillard
On Sun, 2007-12-09 at 17:09 +, Krzysztof Foltman wrote: > Dave Robillard wrote: > > How would you access the data in code? (it'd be ugly/annoying) > > > Control byte of MIDI - data[0] > First argument of MIDI - data[1] > Second argument of MIDI - data[2] . duh. Try to note what something

Re: [LAD] "enhanced event port" LV2 extension proposal

2007-12-09 Thread Dave Robillard
On Sun, 2007-12-09 at 23:20 +0100, Lars Luthman wrote: > On Sun, 2007-12-09 at 11:58 -0500, Dave Robillard wrote: > > On Sun, 2007-12-09 at 11:52 -0500, Dave Robillard wrote: > > > On Sun, 2007-12-09 at 15:06 +, Krzysztof Foltman wrote: > > > > Dave Robillard wrote: > > > > > Is this what we ha