From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: play-sound-file & esd Date: Wed, 17 May 2006 16:14:41 +0200 Message-ID: References: <44572E8B.6060102@swipnet.se> <44585258.7040506@swipnet.se> <445EF2F9.5060209@swipnet.se> <87r732wzz6.fsf@robotron.kosmorama> <44618798.3030901@swipnet.se> <4461E7DC.8070007@swipnet.se> <44697D66.5060300@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1147875395 19770 80.91.229.2 (17 May 2006 14:16:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 May 2006 14:16:35 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 17 16:16:32 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FgMoo-0004R4-Rf for ged-emacs-devel@m.gmane.org; Wed, 17 May 2006 16:16:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FgMoo-0003V7-77 for ged-emacs-devel@m.gmane.org; Wed, 17 May 2006 10:16:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FgMob-0003Su-9Q for emacs-devel@gnu.org; Wed, 17 May 2006 10:15:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FgMoX-0003Qm-Qy for emacs-devel@gnu.org; Wed, 17 May 2006 10:15:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FgMoX-0003Qj-Kg for emacs-devel@gnu.org; Wed, 17 May 2006 10:15:49 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FgMrQ-0004Xk-26 for emacs-devel@gnu.org; Wed, 17 May 2006 10:18:48 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FgMo4-0004ED-Jx for emacs-devel@gnu.org; Wed, 17 May 2006 16:15:21 +0200 Original-Received: from ua-83-227-131-3.cust.bredbandsbolaget.se ([83.227.131.3]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 May 2006 16:15:20 +0200 Original-Received: from joakim by ua-83-227-131-3.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 May 2006 16:15:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 42 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ua-83-227-131-3.cust.bredbandsbolaget.se User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.51 (gnu/linux) Cancel-Lock: sha1:bMWvs7TdDVaFiwoIokS4SMtKjzg= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:54630 Archived-At: Jan Djärv writes: Just some notes: - Alsa enables multiopen only if the underlying hardware supports this. Cheap laptop audio normally doesnt for instance. - There are several sound daemons out there: - esd used by gnome - arts used by kde - gstreamer - jackd used by people interested in music applications I would say that finding a solution for emacs that always manages to play a sound withouth configuration is next to impossible. Maybe a solution would be to make it possible to configure an external player command, when the internal method is not suficient? > Andreas Schwab skrev: >> Richard Stallman writes: >> >>> Where do we stand on this? >>> >>> It looks like you are running ALSA v1.0.11rc2, and it does NOT >>> work to have multiple opens. ALSA experts, is that version supposed >>> to be new enough to support multiple opens? >> AFAIK that version should be new enough. But only the native ALSA >> interface has access to the software mixer. When using the legacy OSS >> interface (eg. through /dev/dsp) you are still limited to a single open. >> > > Aha, that is why it works for me. So then we should make Emacs use > the ALSA API. This doesn't look too hard, but I guess it is something > for after the release. > > Jan D. -- Joakim Verona http://www.verona.se