Re: [Alsa-devel] ALSA sequencer input buffer

2002-04-25 Thread Richard Bown
Takashi Iwai wrote: > no, you shouldn't drop input events. otherwise the input events will > be really lost. Oh ok, from your code examples I see that I was implementing a blocking model for a non-blocking port. Following the second example seems to have fixed it without the need to drop any e

Re: [Alsa-devel] ALSA sequencer input buffer

2002-04-25 Thread Takashi Iwai
Hi Richard, At Thu, 25 Apr 2002 13:08:15 +0100, Richard Bown wrote: > > Hi, > > Is it correct that an app should have to snd_seq_drop_input_buffer() every > so often when reading events in via snd_seq_event_input()? > > If I don't drop the input buffer periodically then the input buffer appear

[Alsa-devel] ALSA sequencer input buffer

2002-04-25 Thread Richard Bown
Hi, Is it correct that an app should have to snd_seq_drop_input_buffer() every so often when reading events in via snd_seq_event_input()? If I don't drop the input buffer periodically then the input buffer appears eventually to clog up - only allowing a few events through at a time. Whilst the