[alsa-devel] plughw vs default / per-application volume changer
Clemens Ladisch
clemens at ladisch.de
Thu Aug 9 15:00:02 CEST 2012
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
More information about the Alsa-devel
mailing list