When a headphone is plugged in, the user expects the audio output to go only there, so it should be switched from main speakers to headphones. The original thread talks about alsa, but I believe that this is actually a pulseaudio configuration thing.
When a headphone is plugged in, the user expects the audio output to go only there, so it should be switched from main speakers to headphones. The original thread talks about alsa, but I believe that this is actually a pulseaudio configuration thing.
from https://forum.pine64.org/showthread.php?tid=4982