Triode wrote:
>
> Edit - testing with my Audiolab MDAC against Wandboard and RPI shows
> subjectively the same volume on both with the output as hw:CARD=MDAC.
> The alsamixer volume for pcm for this output does not seem to impact
> this.
>
Alsamixer impacts devices with HW mixer/volume control (located on the
DAC) only.
If there's HW volume control, then this has to be properly implemented
in the driver API.
Your MDAC probably has done things right. My XMOS shows "XMOS Clock
Selector"
and does nothing when changing these controls.
Most of these el cheapo DIY USB-DACs with XMOS interface or I2S DIY-DACs
are
usually all but professionally implemented.
Some hints for the users, that are not that familiar with Alsa:
If there's a DAC HW Volume control (e.g. AQ Dragonfly), people should
run:
Code:
--------------------
rm /var/lib/alsa/asound.state
amixer -c 0 set 'Master' playback 100% unmute
amixer -c 0 set 'PCM' playback 100% unmute
alsactl store
sync
--------------------
to unmute and to put onboard controls to 100%.
This setting will be stored with above and reloaded at boot
automatically - if the alsa-utils package is installed.
The same can be done with "alsamixer -c 0" and GUI controls, instead of
running above amixer commands.
Note1:
Sometimes both, MASTER and PCM, controls need to be set to get a 100%
level.
Sometimes the naming of controls is different.
Running a simple "amixer -c 0" will show all available so called "Simple
mixer controls" of a particular soundcard.
Note2:
If there are several soundcards active, the correct card index (e.g. -c
0) needs to be chosen!!
If you look at the RPI. You'll find that SOA loads the internal audio
drivers by default.
That puts an USB soundcard randomly to e.g. card index 3. Above amixer
would have to be called
with "-c 3" in this case. ( I suggested earlier to apply a static index
number to USB soundcards to SOA for that reason)
By calling plain "alsamixer" without specifying the card-index (e.g. -c
3 ), you'll hit card-index 0 and usually configure the internal
soundcard,
since that one usually gets index 0. This will obviously not change
anything on your USB soundcard.
Checkout your card index with:
Code:
--------------------
cat /proc/asound/cards
--------------------
::: ' Touch Toolbox and more' (http://soundcheck-audio.blogspot.com) :::
by soundcheck
------------------------------------------------------------------------
soundcheck's Profile: http://forums.slimdevices.com/member.php?userid=34383
View this thread: http://forums.slimdevices.com/showthread.php?t=101624
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix