Add an option in audio menu to switch between stereo and mono sound, and a control to manage the alsamixer volume
Hello,
I bought recently a GPi case and I have noticed that sound is a downmix to mono. I know that is right because the GPi case is not perfectly designed and doesn't downmix the stereo sound by itself, but the problem is when you connect the headphones. This downmix sound is weird and the only way to change it is using SSH to change the file located in /etc/asound.conf. I've modified this file to change it just modifying a line:
pcm.monocard{
slave.pcm "hw:0"
slave.channels 2
type route
ttable {
# Copy both input channels to output channel 1 (Right).
0.1 1
1.1 1
# Copy both input channels to output channel 0 (Left).
0.0 1
1.0 1
}
}
pcm.stereocard{
slave.pcm "hw:0"
slave.channels 2
type route
ttable {
1.1 1
0.0 1
}
}
pcm.!default monocard
It works but is very annoying to have to connect via SSH, mount as RW the root filesystem and modify the file by hand, and again when you want to disable the stereo sound, so I want to know if is possible to add an option in audio menu to switch between mono and stereo sound.
Also I want to talk about the alsamixer volume. At first boot I have noticed that the volume is quite low, and after looking into the configuration via ssh I have noticed that alsamixer volume is set to 40%. I think that I have seen a volume control in the application and was at maximum, so I think is not related to alsamixer volume. I want to know if is possible to raise the alsamixer volume to about 90% by default (higher volume can make it saturates), because I think that add a second volume control to change the alsamixer volume is no the best.
Thanks!