All of lore.kernel.org
 help / color / mirror / Atom feed
From: Colin Guthrie <gmane@colin.guthr.ie>
To: ekiga-devel-list@gnome.org
Cc: alsa-devel@alsa-project.org
Subject: Re: Pls don't require exclusive Alsa audio device access, use snd_pcm_dmix_open ()
Date: Wed, 28 Nov 2007 11:36:55 +0000	[thread overview]
Message-ID: <fijjso$aeg$1@ger.gmane.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0711281014180.8244@tm8103.perex-int.cz>

Jaroslav Kysela wrote:
> On Wed, 28 Nov 2007, thomas schorpp wrote:
> 
>>> +    if (_snd_pcm_dmix_open (&os_handle, real_device_name, snd_config_t* 
>>> root, snd_config_t* sconf, stream, SND_PCM_NONBLOCK) < 0) {
> 
> Uff. It's really wrong. What you're trying to do? Simply use 'default' 
> device name for snd_pcm_open() which should have defined dmix access if 
> required. And don't forget to allow specify (force) ALSA device name to 
> users if someone wants a special setup.

+1 Dmix should not be enforced... this can be handled at a lower
level.... e.g. with dmix configured in alsa config or by using
pulseaudio instead of dmix (my preferred solution so I can switch from
my internal speakers to my usb headset should I plug it in mid-call).

Col.

  reply	other threads:[~2007-11-28 11:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <471FE2A7.9080309@googlemail.com>
     [not found] ` <47201223.5050304@googlemail.com>
2007-11-28  9:06   ` Pls don't require exclusive Alsa audio device access, use snd_pcm_dmix_open () thomas schorpp
2007-11-28  9:17     ` Jaroslav Kysela
2007-11-28 11:36       ` Colin Guthrie [this message]
2007-11-28 16:01         ` [Ekiga-devel-list] " thomas schorpp
2007-11-28 16:22           ` Takashi Iwai
2007-11-28 18:16             ` thomas schorpp

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='fijjso$aeg$1@ger.gmane.org' \
    --to=gmane@colin.guthr.ie \
    --cc=alsa-devel@alsa-project.org \
    --cc=ekiga-devel-list@gnome.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.
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.