From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Lee Revell" Subject: Re: [Jackit-devel] alsaseq reorders my events Date: Thu, 1 Mar 2007 17:12:31 -0500 Message-ID: <75b66ecd0703011412l513be986l5ea67d8c8e47e66b@mail.gmail.com> References: <70a871c80703010535p512ebabfke3c57d441a7fe2fb@mail.gmail.com> <1172768362.11019.1177218661@webmail.messagingengine.com> <70a871c80703010923l1cd70240n4a993ef4a2a60c3f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <70a871c80703010923l1cd70240n4a993ef4a2a60c3f@mail.gmail.com> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Dmitry Baikov Cc: Jack Dev List , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org On 3/1/07, Dmitry Baikov wrote: > And since I already rewritten this code with snd_seq_ev_set_direct() + > poll(), I have a question: > Does queue + snd_seq_ev_schedule_real() offer better real resolution > than poll (which gives 1 ms)? On older kernels it depends on whether ALSA sequencer is configured to use RTC or regular kernel timers. And poll() resolution is 4ms by default (HZ=250) not 1ms. Anyway mainline Linux kernel has hrtimers now. So shouldn't the resolution of all timeouts be much better than 1ms? Lee ------------------------------------------------------------------------- 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