Dear Maintainer,
Since a few weeks, audio from several apps like firefox, chromium, parole or clementine is directed to the motherboard soundcard [Intel]
instead of the pci soundcard [Live] of my desktop computer.
As apps using directly ALSA as Audacity or MuseScore are still working fine, I suspect GStreamer.
The PCI soundcard is always the first one because of the line "options snd slots=snd_emu10k1" in the /etc/modprobe.d/alsa-base.conf file.
It is also ALSA's default soundcard because of the lines "defaults.ctl.!card Live" and "defaults.pcm.!card Live" in the /etc/asound.conf file
I have *no PulseAudio* installed.
If I temporarily disable onboard soundcard from bios for a test then audio go back to the PCI soundcard.
Test of autoaudiosink does not work as expected.
If I test GStreamer with "gst-launch-1.0 -v audiotestsrc ! audioconvert ! autoaudiosink"
then command output shows a "GstPulseSink"... but I have no PulseAudio installed ?!
Also You can see that the selected device is alsa_output.pci-0000_00_1b.0.analog-stereo which is the onboard one.
See gst-auto.log below for details.
Test of alsasink is ok.
If I test GStreamer with "gst-launch-1.0 -v audiotestsrc ! audioconvert ! alsasink"
then sound go the the PCI soundcard as expected
See gst-alsa.log below for details.
*** alsa-cards
0 [Live ]: EMU10K1 - SB Live! 5.1
SB Live! 5.1 (rev.7, serial:0x80641102) at 0xe880, irq 16
1 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfbaf8000 irq 33
2 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfbbfc000 irq 35
3 [C920 ]: USB-Audio - HD Pro Webcam C920
HD Pro Webcam C920 at usb-0000:00:1d.7-6, high speed
*** gst-auto.log
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0.GstPad:src: caps = audio/x-raw, rate=(int)44100, format=(string)F32LE, channels=(int)1, layout=(string)interleaved
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = audio/x-raw, rate=(int)44100, format=(string)F32LE, channels=(int)1, layout=(string)interleaved
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0.GstGhostPad:sink.GstProxyPad:proxypad0: caps = audio/x-raw, rate=(int)44100, format=(string)F32LE, channels=(int)1, layout=(string)interleaved
Redistribute latency...
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstPulseSink:autoaudiosink0-actual-sink-pulse.GstPad:sink: caps = audio/x-raw, rate=(int)44100, format=(string)F32LE, channels=(int)1, layout=(string)interleaved
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0.GstGhostPad:sink: caps = audio/x-raw, rate=(int)44100, format=(string)F32LE, channels=(int)1, layout=(string)interleaved
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = audio/x-raw, rate=(int)44100, format=(string)F32LE, channels=(int)1, layout=(string)interleaved
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstPulseSink:autoaudiosink0-actual-sink-pulse: volume = 1
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstPulseSink:autoaudiosink0-actual-sink-pulse: mute = false
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstPulseSink:autoaudiosink0-actual-sink-pulse: current-device = alsa_output.pci-0000_00_1b.0.analog-stereo
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstPulseSink:autoaudiosink0-actual-sink-pulse: volume = 1
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstPulseSink:autoaudiosink0-actual-sink-pulse: mute = false
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstPulseSink:autoaudiosink0-actual-sink-pulse: current-device = alsa_output.pci-0000_00_1b.0.analog-stereo
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstPulseSink:autoaudiosink0-actual-sink-pulse: volume = 1
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstPulseSink:autoaudiosink0-actual-sink-pulse: mute = false
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstPulseSink:autoaudiosink0-actual-sink-pulse: current-device = alsa_output.pci-0000_00_1b.0.analog-stereo
handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:01.602219878
Setting pipeline to NULL ...
Freeing pipeline ...
*** gst-alsa.log
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0.GstPad:src: caps = audio/x-raw, rate=(int)44100, format=(string)F64LE, channels=(int)2, layout=(string)interleaved, channel-mask=(bitmask)0x0000000000000003
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = audio/x-raw, rate=(int)44100, format=(string)F64LE, channels=(int)2, layout=(string)interleaved, channel-mask=(bitmask)0x0000000000000003
Redistribute latency...
/GstPipeline:pipeline0/GstAlsaSink:alsasink0.GstPad:sink: caps = audio/x-raw, rate=(int)44100, format=(string)F64LE, channels=(int)2, layout=(string)interleaved, channel-mask=(bitmask)0x0000000000000003
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = audio/x-raw, rate=(int)44100, format=(string)F64LE, channels=(int)2, layout=(string)interleaved, channel-mask=(bitmask)0x0000000000000003
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:04.192914018
Setting pipeline to NULL ...
Freeing pipeline ...
*** lspci |grep -i audio
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM / R5 230/235/235X OEM]
08:00.0 Multimedia audio controller: Creative Labs EMU10k1 [Sound Blaster Live! Series] (rev 07)