You are not logged in.

#1 2012-04-08 12:47:45

IamTrying
Member
Registered: 2011-10-13
Posts: 36

[Fail] - failed to connect stream: invalid argument? pulseaudio

I have pulseaudio installed and i am trying with gstreamer its always failing. But this works when i try with Fedora live cd or Ubuntu live cd. But Archlinux failing.

GOAL: (to make this work)
======
$ gst-launch pulsesrc device="alsa_input.pci-0000_00_1b.0.analog-stereo" ! alsasink device=hw:0,0
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstPulseSrc:pulsesrc0: Failed to connect stream: Invalid argument
Additional debug info:
pulsesrc.c(1480): gst_pulsesrc_prepare (): /GstPipeline:pipeline0/GstPulseSrc:pulsesrc0
Setting pipeline to NULL ...
Freeing pipeline ...

TRY 1:  fail
======

$ pulseaudio -k; pulseaudio --daemonize=no -vvvvvvvvv  ;
----- starts fine ---------

$ pacmd dump | grep alsa_input
set-source-volume alsa_input.pci-0000_00_1b.0.analog-stereo 0x8050
set-source-mute alsa_input.pci-0000_00_1b.0.analog-stereo no  <<< this one
suspend-source alsa_input.pci-0000_00_1b.0.analog-stereo yes
set-default-source alsa_input.pci-0000_00_1b.0.analog-stereo

; alsa works fine
$ alsactl init Found hardware: "HDA-Intel" "Intel CougarPoint HDMI" "HDA:10ec0892,10280527,00100302 HDA:80862805,58862805,00100000" "0x1028" "0x0527" Hardware is initialized using a generic method

TRY 2: fail
=====

if [ ! -d "/etc/asound.conf" ]; then
cat > /etc/asound.conf << \EOF
pcm.pulse {
  type pulse
}
ctl.pulse {
  type pulse
}
pcm.!default {
  type pulse
}
ctl.!default {
  type pulse
}

EOF
fi

or

pcm.!default {  type plug  slave.pcm {    type dmix   ipc_key 1024    slave {       pcm "hw:0,0"      rate 44100   } }}


TRY 3: fail
======

options snd-hda-intel model=auto

Help!

Offline

Board footer

Powered by FluxBB