[LAD] alsa sequencer latency ( snd_seq_ev_schedule_real ) -?need help!

nescivi nescivi at gmail.com
Sun Jan 11 16:16:54 UTC 2009


On Sunday 11 January 2009 03:45:34 Fons Adriaensen wrote:
> On Sun, Jan 11, 2009 at 12:38:01AM -0500, nescivi wrote:
> > It is really strange. Sometimes it just works for a while, and then it
> > just takes minutes before any event comes out.
> > The values print out fine, just something weird seems to be happening in
> > the actual scheduling.
>
> Since you are using snd_seq_output_direct(), I *assume* you
> don't need snd_seq_drain_output(). But have you ever tried
>
>   snd_seq_write();
>   snd_seq_drain_output();
>
> instead of
>
>   snd_seq_write_direct(); ?

yes, I did.

I tried it with:
snd_seq_event_output(mHandle, evt);
snd_seq_drain_output();

sincerely,
Marije



More information about the Linux-audio-dev mailing list