Alex, thanks for your recent mail to the mailinglist. I understand why
now.

Current sound API:

Soundserver -> midi_xxx -> midiout_xxx

Suggestion:

SoundserverX -> midiout_xxx (*midiblock_t midi_xxx(param))
SoundserverY -> winmcistuff (int add_delta, *midiblock_t midi_xxx(param))
filewriter   -> write (int add_delta, *midiblock_t midi_xxx(param))

struct midiblock_t {
        int size;
        guint8 *midi_file_block_data;      
}

the midi_xxx functions have to return a proper midi file block with delta
times. and midiout_layer has to interpret this and things like sleep
(alsa/oss).

do I make sense? ;-)

-- 
/Rickard Lind




Reply via email to