All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: antony k <adkalkan@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: plughw vs default / per-application volume changer
Date: Thu, 09 Aug 2012 15:00:02 +0200	[thread overview]
Message-ID: <5023B452.9010907@ladisch.de> (raw)
In-Reply-To: <CAC2-5LccH=QCQ8UKF-o+JtZUFdxRyU_NaEsq7kGW8ekoLXkGOQ@mail.gmail.com>

antony k wrote:
> a) if and why should I prefer the "plughw:0,0" over the "default" device
> name.
> I am developing a simple audio player which is based on the latter.
> I made this choice because when I was using plughw:0,0 with other audio
> programs(flash player,vlc) open in the background I would get the "Device
> is busy" error code.
> With default, it's fine.

You have answered your question.

The default device name should be "default".

> b) can I have an application specific volume changer?

Very few sound devices support this in hardware.
Adjust the sound data in your program, or better use PulseAudio.


Regards,
Clemens

      reply	other threads:[~2012-08-09 12:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-06 11:41 plughw vs default / per-application volume changer antony k
2012-08-09 13:00 ` Clemens Ladisch [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=5023B452.9010907@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=adkalkan@gmail.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 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.