## .asoundrc

pcm.vol {
@args.0 NAME
@args.1 SLAVE
@args.NAME {
type string
default "jOERG"
@args.SLAVE {
type string
default "default"
type softvol # Soft Volume conversion PCM
slave.pcm $SLAVE # Slave name
control {
name "$NAME"; # control element id string
card 0;
# [card STR] # control card index
# [iface STR] # interface of the element
# [index INT] # index of the element
# [device INT] # device number of the element
# [subdevice INT] # subdevice number of the element
# [count INT] # control channels 1 or 2 (default: 2)
min_dB -33.0; # minimal dB value (default: -51.0)
# [resolution INT] # resolution (default: 256)

## aplay -L

Discard all samples (playback) or generate zero samples (capture)
HDA Intel, ALC269 Analog
Front speakers
HDA Intel, ALC269 Analog
4.0 Surround output to Front and Rear speakers
HDA Intel, ALC269 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
HDA Intel, ALC269 Analog
5.0 Surround output to Front, Center and Rear speakers
HDA Intel, ALC269 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
HDA Intel, ALC269 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

## aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

## console session

whitequark@mannaz:~$ sox bsg_the_music.mp3 -t alsa vol:songs
sox FAIL formats: can't open output file `vol:songs': snd_pcm_hw_params_any error: Invalid argument
whitequark@mannaz:~$ aplay -D vol:songs </dev/zero
Playing raw data 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
aplay: set_params:1031: Broken configuration for this PCM: no configurations available