Re: snd_seq: buffered vs. direct output of events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Wed, 21 Feb 2007 21:51:49 +0100,
Gerald Grabner wrote:
> 
> Hi there,
> 
> I'm wondering what the pros and cons of buffered vs. direct output of
> sequencer events might be.
> 
> As far as I have found out, snd_seq_event_output_direct has the
> advantage of not having to care about calling snd_seq_drain_output. On
> the other hand, snd_seq_event_output allows the removal of scheduled
> events via snd_seq_remove_events.
> 
> But I am sure that there are a number of other arguments...

If you want just to send events immediately, there is practially no
disadvantage of using direct output.  The buffered outputs are
basically designed for scheduled events.


Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux