On Mon, 14 Oct 2002, Richard Bown wrote: > A question - if you're sending a load of MIDI notes (as opposed to > noteons/noteoffs) with very long duration and to curtail these notes > you're sending notes with shorter (finite if you like) duration to same > channel/pitch should the longer ones clear down from ALSA and get cast > away? > > At the moment I can get the notes to stop sounding correctly but after > playing more notes for a while (and everything sounding fine) the > sequencer just eventually stops accepting any more notes for playback > presumably because the original long notes are still hanging around in > a buffer somewhere. > > Thoughts?
When NOTE event is processing, the NOTEON event is delivered to attached clients and NOTEOFF event is enqueued to be processed later. So, it's possible that you'll have buffer full with NOTEOFF events. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project http://www.alsa-project.org SuSE Linux http://www.suse.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel