all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [tvraman@almaden.ibm.com: Re: Native play function slows down emacs on RH 7.3]
Date: Sat, 27 Jul 2002 12:52:46 -0600 (MDT)	[thread overview]
Message-ID: <200207271852.g6RIqkS10717@aztec.santafe.edu> (raw)
In-Reply-To: <86vg724vs9.fsf@gerd.free-bsd.org> (gerd.moellmann@t-online.de)

    > Is anyone interested in implementing asynchronous playing of sound in
    > Emacs?  Forking sounds like a rather heavyweight method; perhaps the
    > sound output facilities have asynchronous output features.  Gerd,
    > do you know what is available?

    I'm afraid I don't know.  I'm relatively sure that I didn't see
    asynchronous playing of sound mentioned in the docs I found when I
    wrote the code some years ago, but docs were pretty scarce and bad at
    that time, so I wouldn't take it for granted that there in no such 
    facility.

Another possible technique would be to use multi-threading on
systems which support that.  Does anyone know how widespread
such support is now?

Another idea is that Emacs could launch a dedicated subprocess for
playing sounds, and then send a command to it for each sound.  The
subprocess would then do the system calls that actually play the
sounds.  This would be much more efficient than forking for each sound
to be played.

      reply	other threads:[~2002-07-27 18:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-25 18:07 [tvraman@almaden.ibm.com: Re: Native play function slows down emacs on RH 7.3] Richard Stallman
2002-07-26 10:40 ` Gerd Moellmann
2002-07-27 18:52   ` Richard Stallman [this message]

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=200207271852.g6RIqkS10717@aztec.santafe.edu \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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.