Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Reiner <reiner1210@googlemail.com>
To: alsa-devel@alsa-project.org
Subject: Re: snd_pcm_open device names
Date: Thu, 06 Mar 2008 19:34:16 +0100	[thread overview]
Message-ID: <47D03928.3040902@googlemail.com> (raw)
In-Reply-To: <200803061313.51242.linux@audioscience.com>

Thanks! But if I try "asym" open fails, where can I see what "default" 
is? There is no ~/.asoundrc and in /etc there is only asound.state.
By the way I'am looking for a function to adjust the volume of the 
stream, any idea

Thanks
Reiner


Eliot Blennerhassett schrieb:
> On Thursday 06 March 2008 12:33:54 Reiner wrote:
>> with
>> snd_pcm_open (handle, "default", SND_PCM_STREAM_PLAYBACK, 0)
>> I can open a device twice
>> with
>> snd_pcm_open (handle, "plughw:0,0", SND_PCM_STREAM_PLAYBACK, 0)
>> the 2. call fails with error -16.
>>
>> The docu says:
>> The default device is equal to plug plugin with hw plugin as slave.
> 
> Probably the doc is in error. The default device these days is usually asym 
> (dmix+dsnoop) which allows the multiple opens.
> 
> --
> Eliot
> www.audioscience.com
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 

  reply	other threads:[~2008-03-06 18:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-05 23:33 snd_pcm_open device names Reiner
2008-03-06  0:13 ` Eliot Blennerhassett
2008-03-06 18:34   ` Reiner [this message]
2008-03-06 18:36     ` Lee Revell

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=47D03928.3040902@googlemail.com \
    --to=reiner1210@googlemail.com \
    --cc=alsa-devel@alsa-project.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox