Jaroslav Kysela wrote:
> 
> On Fri, 27 Jun 2003, Marcus Andersson wrote:
> 
> > Hi,
> >
> > I have found the reason for the loss of input bytes on the hdsp midi,
> > but I don't know how to correctly fix it.
> >
> > The function snd_hdsp_midi_input_trigger() is repeatedly called with
> > up==true. This results in the input being flushed. Definitely not good.
> >
> > Can someone tell me what this function is supposed to do? What does 'up'
> > mean? Why is the input flushed here?
> 
> The input should be flushed only when the input was not triggered before.
> The input is triggered constantly, because there is some polled hardware
> available.
> 
> This patch should fix this problem (commited also to CVS):

Thank you. It solves all my midi problems with the hdsp.

Marcus


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to