From: "Clemens Ladisch" <cladisch@fastmail.net>
To: Dmitry Baikov <dsbaikov@gmail.com>,
alsa-devel@lists.sourceforge.net,
Jack Dev List <jackit-devel@lists.sourceforge.net>
Subject: Re: [Jackit-devel] alsaseq reorders my events
Date: Thu, 01 Mar 2007 17:59:22 +0100 [thread overview]
Message-ID: <1172768362.11019.1177218661@webmail.messagingengine.com> (raw)
In-Reply-To: <70a871c80703010535p512ebabfke3c57d441a7fe2fb@mail.gmail.com>
Dmitry Baikov wrote:
> I nearly finished alsaseq driver for jackmidi, but have a problem.
> Alsaseq reorders events in fast sequences, so note-on/note-off pairs got
> mixed.
Events with the same timestamp are delivered in strict FIFO order.
> The algorithm of sending is simple:
>
> snd_seq_ev_schedule_real(&alsa_event, output_que, 1, ×tamp);
> ...
> timestamp.tv_sec = (long) (offset / 1000000000);
> timestamp.tv_nsec = (long) (offset % 1000000000);
> snd_seq_event_output(self->seq, &alsa_event);
Does this code really compute the time stamp _after_ setting it?
Regards,
Clemens
-------------------------------------------------------------------------
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
next prev parent reply other threads:[~2007-03-01 16:59 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 ` Clemens Ladisch [this message]
2007-03-01 17:23 ` [Jackit-devel] " Dmitry Baikov
2007-03-01 22:02 ` Rui Nuno Capela
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=1172768362.11019.1177218661@webmail.messagingengine.com \
--to=cladisch@fastmail.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox