On Friday 22 July 2011 16:56:45 [email protected] wrote:
> hi, rev 2316 fix the problem with midi out events. but now it looks like
> that the output create only unknown midi messages:(. i think that the code
> in jack_midi_driver.cpp needs some explanations for me.
> what do JackMidiDriver::JackMidiOutEvent(uint8_t buf[4], uint8_t len)?
> and why JackMidiDriver::JackMidiWrite(jack_nframes_t nframes) is the
> methode which read midi data when the name suggest that it will
> write(output) data?
> and did jack_midi_event_reserve which is called in
> JackMidiDriver::JackMidiRead(jack_nframes_t nframes)
> something like write mididata. or need this a jack_midi_event_write call?
> 
> i don't know and also didn't understand it currently:) because i don't read
> the jack api as well. whatever, i can need some help to fix the unknown
> output message problem.

Hi,

Jack is polling for events. You don't write events to Jack.

JackMidiOutEvent() is a common function that writes the MIDI events into a 
temporary queue, and then forward these events to Jack, when called from the 
polling thread.

--HPS

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to