Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: \x05 <panbohui@hotmail.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: different between "default" and "hw:0,0"?
Date: Tue, 28 Nov 2006 11:08:22 -0500	[thread overview]
Message-ID: <1164730102.29695.57.camel@mindpipe> (raw)
In-Reply-To: <BAY127-W126B9E39CB4FA3B9ED5A58C9E50@phx.gbl>

On Tue, 2006-11-28 at 13:26 +0800, \x05 wrote:
> Hi all,
> I'm new to alsa, and get some confused with "default" device and and the
> "hw:0,0" device, do they have any difference?
> i write a very simple media player app, using xine-lib, i modify the
> xine config file, set the "audio.device.alsa_front_device" value to
> "hw:0,0". 
> i found that, when the value is "hw:0,0", the program can NOT run more
> than one process at same time(I mean only one process can play
> sound,others hang),
> when the value set to "default", i can run more than one process, and
> every app can play sound at same time.
> so, it seems that, the "default" and he "hw0,0" are not same, and i
> don't know the detail.

Using the hw device bypasses ALSA's software mixing layer and thus only
one app can play at a time.  Apps should always use "default" unless you
know what you are doing.

Lee


-------------------------------------------------------------------------
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

  reply	other threads:[~2006-11-28 16:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-28  5:26 different between "default" and "hw:0,0"? \x05
2006-11-28 16:08 ` Lee Revell [this message]
2006-11-28 16:57   ` Oliver Schinagl
2006-11-28 17:11     ` 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=1164730102.29695.57.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=alsa-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