gst-launch-0.10 uridecodebin uri=file://<path of sound file> ! alsasink device=hw:1,3
I can hear the sound through the monitor's speakers, and with
gst-launch-0.10 uridecodebin uri=file://<path of sound file> ! alsasink device=hw:0,2
I can hear the sound through the headphones.
Yet, If I use gnome-control-center -> Audio (which, if I understood correctly, simply instructs pulseaudio which device to use), when choosing Analog headphones, no sound comes at all, while when choosing HDMI/DisplayPort sound comes from the monitor speakers.
So: the headphones work, but there's something wrong in pulseaudio. But what?
If I type
gst-launch-0.10 uridecodebin uri=file://<path of sound file> ! alsasink device=hw:1,3
I can hear the sound through the monitor's speakers, and with
gst-launch-0.10 uridecodebin uri=file://<path of sound file> ! alsasink device=hw:0,2
I can hear the sound through the headphones.
Yet, If I use gnome-control- center -> Audio (which, if I understood correctly, simply instructs pulseaudio which device to use), when choosing Analog headphones, no sound comes at all, while when choosing HDMI/DisplayPort sound comes from the monitor speakers.
So: the headphones work, but there's something wrong in pulseaudio. But what?