All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rui Nuno Capela <rncbc@rncbc.org>
To: Dmitry Baikov <dsbaikov@gmail.com>
Cc: Jack Dev List <jackit-devel@lists.sourceforge.net>,
	alsa-devel@lists.sourceforge.net
Subject: Re: [Jackit-devel] alsaseq reorders my events
Date: Thu, 01 Mar 2007 22:02:39 +0000	[thread overview]
Message-ID: <45E74D7F.3010305@rncbc.org> (raw)
In-Reply-To: <70a871c80703010923l1cd70240n4a993ef4a2a60c3f@mail.gmail.com>

Dmitry Baikov wrote:
> On 3/1/07, Clemens Ladisch <cladisch@fastmail.net> wrote:
>> Does this code really compute the time stamp _after_ setting it?
> 
> Gotcha! Very stupid....
> I copied this code from another place AND misread
> snd_seq_ev_schedule_real() body - I was sure it stores timeout's
> pointer, not value.
> 
> Thank you, gentlemen.
> 
> 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)?
> 

Dunno what really advantage you're after with poll(), but then I'll ask
you what are the actual problems you're trying to workaround by choosing
like so?

AFAICT using an alsa-seq queue and thus snd_seq_ev_schedule_...() are
pretty fitted to the job, or isn't? besides it is kindly assisted at
kernel (module) level that is.

hmm... but then again, if you think you've found something wrong with
alsa-seq queuing... it surely can be fixed, of course ;)

Clemens?
-- 
rncbc aka Rui Nuno Capela
rncbc@rncbc.org

-------------------------------------------------------------------------
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

  reply	other threads:[~2007-03-01 22:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-01 13:35 alsaseq reorders my events Dmitry Baikov
2007-03-01 16:51 ` [Jackit-devel] [Alsa-devel] " Rui Nuno Capela
2007-03-01 16:59 ` [Jackit-devel] " Clemens Ladisch
2007-03-01 17:23   ` Dmitry Baikov
2007-03-01 22:02     ` Rui Nuno Capela [this message]
2007-03-01 22:12     ` Lee Revell
2007-03-01 22:14       ` Dmitry Baikov
2007-03-01 22:17         ` Lee Revell
2007-03-02 10:35     ` Clemens Ladisch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45E74D7F.3010305@rncbc.org \
    --to=rncbc@rncbc.org \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=dsbaikov@gmail.com \
    --cc=jackit-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.